PRB: Error C2501 When Building Application Using Winldap.hID: Q201027
|
When you are building an application that includes the file Winldap.h, the following error might occur:
error C2501: 'PCONTEXT' : missing decl-specifiers
The definition of PCONTEXT is conditionally compiled based on the definition of architecture preprocessor symbols, which indicate the type of the target computer. If no architecture symbol is defined, later references to PCONTEXT in the header files will fail.
Do one of the following to resolve this problem:
Additional query words: kbLDAP
Keywords : kbnetwork kbADSI kbSDKPlatform
Version : winnt:2.0
Platform : winnt
Issue type : kbprb
Last Reviewed: March 24, 1999