ID: Q171724
The information in this article applies to:
ADSI is based on COM. If you neglect to call CoInitialize or OleInitialize, AdsGetObject, it will return an HRESULT of MK_E_SYNTAX (0x800401e4, "invalid syntax") instead of the more helpful CO_E_NOTINITIALIZED.
Call CoInitalize or OleInitialze before calling any ADSI APIs.
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
This behavior applies to ADSI Rel 1.0 and 1.0 update.
Additional query words:
Keywords : kbnetwork kbADSI kbAPI kbNTOS351 kbNTOS400 kbSDKPlatform kbWinOS95 kbGrpNet
Issue type : kbprb
Last Reviewed: July 31, 1998