Oh, I've found that long time back and used it in my C++ module. But for my
C# module I tried using the constants found there and compiler would complain
that it isn't define. Like, ERROR_OBJECT_ALREADY_EXISTS, can be used in C++
but not in C#. Do I need to add any references to use the same constants?
--
Thanks.
"Willy Denoyette [MVP]" wrote:
Search the platform SDK docs for "ADSI Error Codes".
Willy.
"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:AF**********************************@microsof t.com...
| Where can I find pre-defined Error code like OBJECT_ALREADY_EXISTS
(HRESULT)
| for the DirectoryServicesCOMException.ErrorCode? I need it for the
try-catch
| coding.
|
| Thanks.