Page 1 of 1
How to create a "real" purebasic gadget ?
Posted: Wed May 11, 2005 7:14 pm
by Polo
Hi !
With the good sdk include files on linux we can make real Purebasic gadgets, which means we can use pb's command to call our own, etc...
Is it also possible with Windows ? I haven't managed to do it

Posted: Wed May 11, 2005 9:50 pm
by Fred
Yes, there is an example too in LccWin32\ drawer.
Posted: Sat May 14, 2005 12:37 pm
by Polo
Ok, i had a look at it, but it tell me
Unresolved External Error for PB_Gadget_CheckReallocate
Posted: Sat May 14, 2005 12:58 pm
by Polo
And a lot of function are missing in comparison of Linux include :
for example :
extern PB_Gadget *PB_Gadget_GetOrAllocateID(int GadgetID);
extern PB_Gadget *PB_Gadget_GetOrAllocateIDAndFree(int GadgetID);
extern PB_Gadget *PB_Gadget_GetObject(int GadgetID);
extern void PB_Gadget_FreeID(int GadgetID);
And i'm not quoting everything

Posted: Sat May 14, 2005 4:48 pm
by Fred
You're right, the example seems quite outdated. I will fix that

.
Posted: Sat May 14, 2005 4:49 pm
by Polo
Thx a lot !
Can't wait to see it !