Deleted
Deleted Member
Posts: 0
|
CallApi
Dec 29, 2008 12:34:38 GMT -5
Post by Deleted on Dec 29, 2008 12:34:38 GMT -5
Hello Guilect,
at first, thank you for the full Brutus2D. Do you have enough money in order to buy Bread and eggs ? I do not hope you will become a poor man !
A question at you: How can i get back a value from DLL.CALLAPI ? Is there any possibility in order to do this ?
|
|
|
CallApi
Dec 29, 2008 18:56:52 GMT -5
Post by Guilect on Dec 29, 2008 18:56:52 GMT -5
easy. There is an example in the 'examples' folder, from the file dlldemo2.b2d :
Ret = dll.CallAPI("user32", "GetWindowLongA", handle, GWL_EXSTYLE)
|
|
Deleted
Deleted Member
Posts: 0
|
CallApi
Dec 30, 2008 13:55:01 GMT -5
Post by Deleted on Dec 30, 2008 13:55:01 GMT -5
that's alright, thank you
why does it not work ?
Dll.CallApi("winmm","sndPlaySoundA", "e4.wav", 1) Dll.CallApi("user32","LoadImageA",0,"image.bmp",0,0,0,16)
it seems that it do not find the string ! do have you an advice for me ?
|
|
|
CallApi
Dec 30, 2008 19:57:39 GMT -5
Post by Guilect on Dec 30, 2008 19:57:39 GMT -5
you have found a small bug. I have fixed it. New version uploaded v1.8.5
|
|
Deleted
Deleted Member
Posts: 0
|
CallApi
Dec 31, 2008 6:09:55 GMT -5
Post by Deleted on Dec 31, 2008 6:09:55 GMT -5
good and great work ! it works for me ! thank you Guilect.
and good new year for you and your family !
|
|