Solved

gdiplus to work in VS2005

Posted on 2006-06-12
2
322 Views
Last Modified: 2012-05-05
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
0
Comment
Question by:m-jansen
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 50 total points
ID: 16886674
#include <comdef.h>
#include <gdiplus.h>
using namespace Gdiplus;     // optionally
0
 

Author Comment

by:m-jansen
ID: 16886708
thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question