Monday, January 23, 2006

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

#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers

Commenting out the above portion, now makes the project run fine.


Post a Comment

<< Home