Solved

gdiplus to work in VS2005

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now