The information in this article applies to:
SUMMARYCompiling a C or C++ source file that contains an incorrectly placed __declspec keyword may cause the compiler to issue a warning or error message. The possible messages and the version of the 32-bit compiler generating them are listed below:
where "Storage_Class_Attribute" is one of the following:
MORE INFORMATION
The compiler is generating one of these error message because an extended
storage-class attribute specified with the __declspec keyword has been
placed incorrectly. The extended storage-class attribute must appear to the
left of the calling-convention keyword, if a keyword is specified.
Sample Code
REFERENCESFor more information, search the online documentation included with Visual C++, 32-bit Edition, on "__declspec," "thread," "naked," "dllimport," "dllexport," or "storage-class attributes." For an in-depth discussion of these topics and more, see the "Programming Techniques" book in the Visual C++, 32-bit Edition, documentation set. Additional query words: 8.00 9.00 export
Keywords : kberrmsg kbCompiler kbVC100 kbVC200 kbVC400 kbVC500 kbVC600 |
Last Reviewed: July 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |