Pelles C forum

C language => Beginner questions => Topic started by: flewis999 on May 10, 2009, 05:36:01 PM

Title: GDI Plus Example GDIPlus.h problem
Post by: flewis999 on May 10, 2009, 05:36:01 PM
Hi -

I am using Pelles C and I was looking for a solution to the GDI-Plus issue
where MS is deprecating GDI.

So I downloaded the GDI examples from the Pelles site. I have the
MS SDK and a copy of GDIPlus.h is there but Pelles gives a host of errors:

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(31): warning #2099: Missing type specifier.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(31): error #2001: Syntax error: expected ';' but found 'Gdiplus'.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(31): warning #2099: Missing type specifier.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(32): error #2001: Syntax error: expected ';' but found '{'.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(33): warning #2099: Missing type specifier.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(33): error #2001: Syntax error: expected ';' but found 'DllExports'.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(33): warning #2099: Missing type specifier.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\GdiPlus.h(34): error #2001: Syntax error: expected ';' but found '{'.

AND More besides, so I am thinking there is another GDiPlus.h file I need.

I am using the PellesC 64 bit compiler. Is that the issue?

What do I need to do???

Thanks,

Fred
Title: Re: GDI Plus Example GDIPlus.h problem
Post by: flewis999 on May 10, 2009, 06:40:20 PM
UPDATE TO MY PREVIOUS POST:

I found the GDI library download and it came with the header files.

BTW: The Find File Utility really works GREAT!! :)

I have it on my desktop and I will use it at work!!

I had been using dir /s and piping output into a text file.

Thanks again Everything is working fine now.

Fred