Click to See Complete Forum and Search --> : Urgent Help Needed in GDI+???


berko3000
December 18th, 2005, 08:25 AM
When I compile a GDI+ app in VC++ 6.0 I get two errors.:

-------------------Configuration: GDITry - Win32 Debug--------------------
Compiling...
Main.cpp
c:\documents and settings\berk\belgelerim\gdiplus\gdiplus\includes\gdiplusenums.h(29) : error C2146: syntax error : missing ';' before identifier 'GraphicsState'
c:\documents and settings\berk\belgelerim\gdiplus\gdiplus\includes\gdiplusenums.h(29) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Main.obj - 2 error(s), 0 warning(s)


How can I fix this?

ovidiucucu
December 19th, 2005, 06:59 AM
You have not posted any snippet code so we just can guess what's going wrong.
Most possible you didn't declare
using namespace Gdiplus;

berko3000
December 20th, 2005, 03:00 AM
I declared it

ovidiucucu
December 20th, 2005, 04:59 AM
I declared it
And?...
Please give more details and/or snippet code and/or (if possible) zip and attach your project here.