Gdi+ Error: use of enum `EmfPlusRecordType' without previous declaration

J

Joson

Hi, all.
I'm trying to test my gdi program on dev-c++ but get an error as
below:

Dev-C++ on windows XP (32bits)
gdiplus.zip downloaded from codeproject.
I had linked the gdiplus.lib by setting project option.

Source code:
#include <windows.h>
#include <objidl.h>
#include <gdiplus.h>
using namespace Gdiplus;
// do nothing else

Error:
545 D:\joson\Dev-Cpp\exter_libs\GDI+\Include\GdiplusEnums.h use of
enum `EmfPlusRecordType' without previous declaration

I have no idea about the reason. Anybody help? Thanks in advanced.

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top