Jump to content
Sign in to follow this  
JackDinn

GDI+ examples not working

Recommended Posts

JackDinn

Iv been checking out some of the gdip examples , mainly looking at gradients atm.

Thing is none of them are working, Iv looked at some code as deep as i can and what im finding is that when the line

$aRet = DllCall($ghGDIPDll, "int", "GDIPCreateLineBrushFromRect", "ptr", $pRect, "int", $iArgb1, "int", $iArgb2, "int", $LinearGradientMode, "int", $WrapMode, "int*", 0)

is called it returns no array and errors with error 3 ("function" not found in the DLL file) ?

I really dont have a good grasp of using dll's and structures etc so i dont know what else to look at but it seems to be implying that "GDIPlus.dll" does not have the func "GDIPCreateLineBrushFromRect"

Im using this demo atm

Have i missed something simple ?


Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Share this post


Link to post
Share on other sites
UEZ

Have a look to GDIP.au3 ->

There are some _GDIPlus_LineBrushCreateFromRect() examples.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
JackDinn

O yea, i remember this set of udf's , i put them in my collection a long while ago thinking i'll defiantly use these at some point and looks like i proceeded to completely forgot about them :-/, cool ehh lol (showing my age now)

They seem to be working , so many thx for reminding me about them.

I do still wonder why the "GDIPlus.dll" does not contain "GDIPCreateLineBrushFromRect" func anymore though ?

and how do i check to see what funcs i can use in any particular DLL ?

Is there a list of usable DLL's that come installed with windows and there funcs / usage ?

Has "GDIPlus.dll" changed since 2007 (or whenever the last demo i was using was posted ?)

Cheers UEZ, much appreciated.


Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×