erro in using gdi+

  • Thread starter Thread starter Chen Houwu
  • Start date Start date
C

Chen Houwu

I use vc6.0,something wrong when i use GDI+
:
in StdAfx.h
I add the following code betwen
#endif//AFX_NO_AFXCMN_SUPPORT
and
//{{AFX+_INSERT_LOCATION}}

code as following:
#include "Gdiplus.h"
using namespace Gdiplus;
#pragma comment (Lib,"GdiPlus.LIb")


but when I compile,message shows :
Compling.........
StdAfx.cpp
gdiplusinit.h(39):erro C2065:"ULONG_PTR":undeclared identifier.
..............................................................

how can i solve the problem?

thanks.
 
Back
Top