Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
GDI + problems in Visual C++.NET 2003
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.vc.


Rafael Espericueta
I simply can't get the examples to compile correctly...

I created a "new project" as a Windows Forms Application.

In the Form1 code, I put
#include <gdiplus.h>
right after the "#pragma once".

However, when I build the "solution", I get several
mysterious error messages saying there are syntax errors
in gdiplus.h! The first one complains about the line:

typedef UINT GraphicsState;

But there is no "missing ';' before
identifier 'GraphicsState'.

PLEASE HELP!!! This can be very frustrating. I have no
idea what to do about this! I may have to stick with
pure math from now on...

Thanks,
-Rafael, a frustrated mathematician
Reply to this message...
Vote that this is a GOOD answer...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
    
Christopher Crooker
This would occur if UINT is undefined. Make sure you have <windows.h> or
some other base header that defines UINT included before you include
<gdiplus.h>.

"Rafael Espericueta" <Click here to reveal e-mail address> wrote in message
news:00ae01c34baa$001fbf70$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Outlook interop - stopping user properties appearing on Outlook message print
Seriously, why is “cut and paste” majorly newsworthy???
 
 
System.Drawing.Drawing2D.GraphicsState




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734