Link to home
Start Free TrialLog in
Avatar of stevenchou
stevenchou

asked on

Install CxImage to demo(error C2065: 'CCM_SETWINDOWTHEME' )

Dear experts:
I download CxImage.
(http://www.codeproject.com/KB/graphics/cximage.aspx)
Becuse I use vc++2010, I add that in StdAfx.h:

#ifndef WINVER
#define WINVER 0x0501
#endif

#ifndef _WIN32_WINNT  .
#define _WIN32_WINNT 0x0501
#endif                        

#ifndef _WIN32_WINDOWS  
#define _WIN32_WINDOWS 0x0501
#endif

#ifndef _WIN32_IE
#define _WIN32_IE 0x0400
#endif

and I add the *.lib of ..\cximage600_full to ..\Microsoft Visual Studio 10.0\VC\lib
now I still don't compile the demo project...



follow are the error:

error C2065: 'CCM_SETWINDOWTHEME' : undeclared identifier      c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcmn3.inl

IntelliSense: identifier "CCM_SETWINDOWTHEME" is undefined      c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcmn3.inl


I guess the reason it's doesn't compile is vc++2010 because someone in internet use vc6 is ok.
what problem is it? could you tell me some solution for the problem?

ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial