gdiplus to work in VS2005

I've added this in my VC ++ Win32 project (not empty) stdafx.h

#include <gdiplus.h>

I've also added gdiplus.lib in the linker additional dependencies

But it won't compile. I get this error:

Error      1      error C4430: missing type specifier - int assumed. Note: C++ does not support default-int      c:\programfiler\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h      67
m-jansenAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AlexFMConnect With a Mentor Commented:
#include <comdef.h>
#include <gdiplus.h>
using namespace Gdiplus;     // optionally
0
 
m-jansenAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.