How to create a "real" purebasic gadget ?

Everything else that doesn't fall into one of the other PB categories.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

How to create a "real" purebasic gadget ?

Post 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 :(
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Yes, there is an example too in LccWin32\ drawer.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Ok, i had a look at it, but it tell me
Unresolved External Error for PB_Gadget_CheckReallocate
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post 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 :)
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You're right, the example seems quite outdated. I will fix that :).
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Thx a lot !
Can't wait to see it !
Post Reply