GDI Plus version 1.1 wrapper for PureBasic 4.02

Share your advanced PureBasic knowledge/code with the community.
xaby
User
User
Posts: 16
Joined: Tue May 15, 2007 12:41 pm
Location: Germany - Berlin

Post 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!

:oops: :cry:
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post 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.
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post 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 ?
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post 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.
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post 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!
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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.
I may look like a mule, but I'm not a complete ass.
PHP
User
User
Posts: 65
Joined: Sat Sep 10, 2005 5:38 pm

Re: GDI Plus version 1.1 wrapper for PureBasic 4.02

Post by PHP »

Any updates? The version 3A doesn't work with PB4.60 :(
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: GDI Plus version 1.1 wrapper for PureBasic 4.02

Post 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
PHP
User
User
Posts: 65
Joined: Sat Sep 10, 2005 5:38 pm

Re: GDI Plus version 1.1 wrapper for PureBasic 4.02

Post by PHP »

Many thanks Danilo!

I've out-commented the stuff too but i did'nt know how to add the GUID stuff etc.
Post Reply