Solved

gdiplus to work in VS2005

Posted on 2006-06-12
2
324 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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