LPUINT error
Trying to integrate a C++ MFC project into an existing Win32 project in C.The following error is thrown up wherever LPUINT is present
syntax error : identifier 'LPUINT'
To remove the error , we need to go to the stdafx.h file in the MFC project and comment out
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
Commenting out the above portion, now makes the project run fine.
0 Comments:
Post a Comment
<< Home