Error while running with GDI+ in VC++6 application
Posted on 2004-10-09
I've decided to enable my VC++6 with GDI+ graphics. By adding the following code:
typedef unsigned __int64 ULONG_PTR
using namespace Gdiplus;
#pragma comment (lib, "Gdiplus.lib")
to stdafx.h, I get the following error:
gdiplus.h(18) : error C2144: syntax error : missing ';' before type 'IDirectDrawSurface7'
I've tried to add the additional code needed to get VC++6 application running with GDI+, but still get the same error.
I'd be greatly appreciated for any suggestion.