Powerbasic Museum 2020-B

IT-Consultant: Patrice Terrier => Discussion => Topic started by: Patrice Terrier on February 09, 2013, 12:15:09 PM

Title: GDIPLUS C/C++ Flat API header ?
Post by: Patrice Terrier on February 09, 2013, 12:15:09 PM
I am looking for a pure SDK C style, GDIPLUS header, without the C++ class encapsulation to use with 64-bit.

Are you aware of any?

...
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Patrice Terrier on February 09, 2013, 02:34:15 PM
Looks like i will have to do it myself using explicit linking (LoadLibrary).

:(
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: James C. Fuller on February 09, 2013, 03:58:45 PM
Hopefully you won't run into any of these gotchas:

http://blogs.msdn.com/b/oldnewthing/archive/2004/01/12/57833.aspx
http://blogs.msdn.com/b/oldnewthing/archive/2006/07/27/679634.aspx

James
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Patrice Terrier on February 09, 2013, 04:15:17 PM
James,

I couldn't understand how your post could help me to find a pre-build header to use GDIPLUS in plain C.

...
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Stan Duraham on February 09, 2013, 04:49:58 PM
google: "GDIPLUS pelles c"
may/not help

http://forum.pellesc.de/index.php?topic=733.0
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Patrice Terrier on February 09, 2013, 04:58:58 PM
Stan,

QuoteForbidden

You don't have permission to access /pellesc/libs/GdiPlus.zip on this server.
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Stan Duraham on February 09, 2013, 05:04:08 PM
google "GDIPLUS pelles c" without the quotes
the result links should work
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Stan Duraham on February 09, 2013, 05:06:52 PM
also try this link, if it works
http://www.johnfindlay.plus.com/pellesc/

the lib is here:
http://www.johnfindlay.plus.com/pellesc/libs/libs.html

don't know if this is a compiled lib or source
Title: Re: GDIPLUS C/C++ Flat API header ?
Post by: Patrice Terrier on February 09, 2013, 06:34:48 PM
Stan,

The last one worked.

However, it doesn't match what i am especting.

I would like to use only DWORD, QWORD, float, double, int, BOOL.
to ease the translation of my own GDIPLUS encapsulation from PB to C.

Thank you.