Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ADsGetObject

161 views
Skip to first unread message

João Pereira

unread,
Sep 24, 2001, 7:53:21 AM9/24/01
to
Dear sirs,
I am using the ADsGetObject function in order to get the system groups
in which a user is set.
I use the function in accordance with the MSDN example "IADsUser [ADSI],
Groups".
My platform is Windows 2000 Professional Service Pack 1, and the
application runs as a windows service in system account.
The problem is that sometimes the call to ADsGetObject fails (not
always) with the following error codes, and the application crash with
an "access violation" in the NTDLL
ERROR: ADsGetObject [WinNT://mobile5/user1,user] HRESULT = 800703E6h
ERROR: ADsGetObject [WinNT://mobile5/user1,user] HRESULT = 80004005h
I install the service pack 2 and the behavior is the same but it seems
to happen not so often.
Is this a problem of bad usage? How can I avoid this problem?
Best regards,
João Pereira

David Stucki

unread,
Sep 28, 2001, 1:59:46 PM9/28/01
to
Can you provide the code that you are using and indicate on which line(s)
these errors are occuring?

Thanks,
Dave Stucki
Microsoft Developer Support

0 new messages