PRB: Using Windows NT PDK Header Files in Visual C++Last reviewed: July 25, 1997Article ID: Q100776 |
The information in this article applies to:
SYMPTOMSAn attempt to use the header files provided with the Microsoft Windows NT Pre-Release Development Kit (PDK) in Visual C++, 32-bit Edition, can cause problems ranging from incorrect results to general protection (GP) faults.
CAUSESeveral data structures changed between the Windows NT Pre-Release and the code that Visual C++, 32-bit Edition supports. Most of the changes converted data from type short to type int or from type unsigned short to type unsigned int. Code developed with the PDK header files passes incorrectly sized items to the functions in the C run-time library.
RESOLUTIONVerify that the version of the header files used to build your application match the version of the library.
MORE INFORMATIONTo determine which directories are in the compiler search path for files and libraries, type "SET" (without quotation marks) at the Windows NT system prompt or choose the System icon in Control Panel.
|
Additional reference words: 1.00 2.00 gpfault 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |