Page 2 of 2
Posted: Thu May 17, 2007 11:15 am
by xaby
I need some help to compile the code right.
What should I do with the extracted files? Mybe I copied to the false folder. I don't know what's wrong...
all other userLIBs I copied to the UserLIBs folder and they work.
Witch file I have to copy in witch folder? Or can you post a link where I can read what I have to do tu use GDIplus!

Posted: Fri May 18, 2007 11:52 am
by SFSxOI
Its not a library, its a wrapper in the include files. Place all the extracted .pbi files in a folder of your choice and include them in your project.
Posted: Fri May 18, 2007 2:22 pm
by Chrono Syndrome
If you do Not have the Macros Framework you will need To convert the GUID's to datasections yourself.
Emmm... Maybe you should just include it in ze package ?
Posted: Sat May 19, 2007 12:52 pm
by SFSxOI
Chrono Syndrome wrote:If you do Not have the Macros Framework you will need To convert the GUID's to datasections yourself.
Emmm... Maybe you should just include it in ze package ?
The Macros Framework is not mine to include, I give the link to it in the include files, but here it is:
http://www.purebasic.fr/english/viewtopic.php?t=22132
Also, I was thinking about just doing a data section include also as an optional include for those that don't wish to use the Macros Framework.
Posted: Tue Aug 07, 2007 7:17 pm
by Xombie
First - thanks a lot for the huge amount of code. It's helping me quite a bit in a small project I have.
Now that I got the nice stuff out of the way...

I see a DrawLines function on the Microsoft website. Is this available in your wrapper? And, if so, how would I use it?
Thanks!
Posted: Wed Aug 08, 2007 12:51 am
by srod
First time I've been forced to turn to gdi+ and I couldn't have done it without this wrapper and the macro framework!
Excellent, well done that man!
Unbelievable work.
Thanks.
Re: GDI Plus version 1.1 wrapper for PureBasic 4.02
Posted: Wed Feb 01, 2012 11:36 pm
by PHP
Any updates? The version 3A doesn't work with PB4.60

Re: GDI Plus version 1.1 wrapper for PureBasic 4.02
Posted: Thu Feb 02, 2012 8:17 am
by Danilo
PHP wrote:Any updates? The version 3A doesn't work with PB4.60

- out-commented Procedure Alpha() because it is a PB command now.
- out-commented structures POINTL and LOGFONTW, already defined by PB
- added Macro DefineGUID
DOWNLOAD:
gdiplus11_v460.zip (739k)
In 'example_display_internet_http_image.pb' you have to change the image URL to work,
all other examples seem to work fine again. It is still for PureBasic x86/32bit.
EDIT:
POINTL is not defined in PB4.60, but it should be in PB4.61, so i added
now CompilerIf Defined(POINTL,#PB_Structure)=0 for POINTL. Should work with PB4.60 and 4.61
Re: GDI Plus version 1.1 wrapper for PureBasic 4.02
Posted: Fri Feb 03, 2012 5:53 pm
by PHP
Many thanks Danilo!
I've out-commented the stuff too but i did'nt know how to add the GUID stuff etc.