cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
GDI+ problem
GDI+ problem
Sep 20, 2015 at 7:41am UTC
h4ever
(529)
I try to use GDI+ I have this header:
1
2
#include <gdiplus.h>
#pragma comment (lib, "gdiplus.lib")
and lots of errors in gdiplusimaging.h looks like I need to include or define something? Errors like error C4430: missing type specifier; error C2440: 'initializing' : cannot convert etc
Sep 20, 2015 at 8:02am UTC
Hippogriff
(727)
http://stackoverflow.com/questions/3489373/visual-studio-c-2010-express-gets-errors-using-gdi
http://stackoverflow.com/questions/2750116/having-trouble-compiling-with-gdi-vc-2008
http://www.gamedev.net/topic/303606-gdiplus-compile-errors/
http://forums.codeguru.com/showthread.php?497064-Gdiplus-h&p=1939253#post1939253
Include windows.h before gdiplus.h.
Also, make sure you don't define "WIN32_LEAN_AND_MEAN" anywhere.
Topic archived. No new replies allowed.