Page 1 of 2

Gdi+ 1.0 examples for almost all functions

Posted: Mon Oct 15, 2007 10:24 pm
by Denis
Since one year i'm working with Gdi+ 1.0.
I've done some small examples for Gdi+ 1.0 with a wrapper

Features:
609 functions from the latest GdiPlus.lib (available with installation file)
Includes 683 examples files for almost all functions (small examples, french commented)
Includes all constants and structures for GDI Plus version 1.0 (may be some will lacking)

Operating Systems Supported: WindowsXP (With gdi plus version 1.0 installed), Windows Vista
NOTE: Tested under XP home edition And Vista Premium home edition without problemes except For function GdipCreateStreamOnFile() witch doesn't work under Vista

PB version :
Purebasic 4.02 to 4.10 beta 3

Files included:
wrapper files (4 files)
chm help file but only in french
683 examples files
images files used by examples
h files for XP and Vista
gdiplus.lib file If needed


Requires:
The Macros Framework For Creating COM Objects by freak located at
http://www.purebasic.fr/english/viewtopic.php?t=22132
If you do not have the Macros Framework you will need To convert the GUID's to datasections yourself.
Installation file will check If you get it or not and If not, you will have a link to download it.

Instructions For use:
Extract files you want into a directory of your choice.

Credit And Acknowledgements:
Listed in the chm help file


You can download the exe file here

Posted: Tue Oct 16, 2007 2:42 am
by einander
Thanks Denis.
Great work!

Posted: Tue Oct 16, 2007 2:54 am
by rsts
Very nice installation.

Thanks.

cheers

Posted: Tue Oct 16, 2007 5:41 am
by electrochrisso
Mammoth task, this will keep me busy for a while.
Thank you.

Posted: Tue Oct 16, 2007 11:15 am
by byo
Two thumbs up.
Thanks for sharing it.

.

Posted: Tue Oct 16, 2007 2:18 pm
by Xqerience2003
nice :D

Posted: Tue Oct 16, 2007 5:24 pm
by QuimV
Hi @Denis,

Download link is broken!

Thanks

Posted: Tue Oct 16, 2007 5:39 pm
by Denis
Hi QuimV,

with PB 4.10 beta 4, the reg key has changed for PB installation folder and the procedure i use doesn't return right folder for this beta, so the file gdiplus.lib wont be installed. This problem was reported on french forum (i dont use beta 4).

I've removed the exe file and corrected the problem, now the link is Ok.

Posted: Tue Oct 16, 2007 6:26 pm
by einander
Hi Denis:

I'm mixing your nice examples with my ugly prototypes.
http://www.purebasic.fr/english/viewtop ... ht=gdiplus

With PB 4.1 Beta 4 there are problems using commands with Unicode calls, like GdipCreateBitmapFromFile or GdipDrawString

See p-Unicode
http://www.purebasic.fr/english/viewtopic.php?t=29054

With PB 4.0 everything goes fine.

Keep the good work going!

Posted: Tue Oct 16, 2007 6:31 pm
by einander
Today Fred has fixed the p-Unicode bug.
Waiting for the next Beta...

Posted: Tue Oct 16, 2007 6:34 pm
by Denis
einander wrote:Today Fred has fixed the p-Unicode bug.
Waiting for the next Beta...
Yes, that's why i still using beta 3

Posted: Wed Oct 17, 2007 1:35 am
by Dare
This is huge! Thanks.

Posted: Wed Oct 17, 2007 9:30 am
by QuimV
Hi Denis,

Tanks a lot for sharing your work!

Posted: Tue Mar 18, 2008 12:55 pm
by Comtois
You can have a look to the documentation here, sorry it's in french, but language is PureBasic :)

http://purebasic.developpez.com/tutorie ... mentation/

Posted: Fri May 09, 2008 9:20 pm
by Karbon
The download link doesn't work anymore.. Is there a mirror?