Page 1 of 1

PureBASIC DLL questions.

Posted: Tue Sep 30, 2008 12:49 pm
by freddix
Hi All,

I have a small question.
If I create a DLL under PureBASIC to be used with PureBASIC.
Will the DLL share medias data ?

Imagine the main PureBASIC program open a screen/bitmap, will it be possible to access it from the DLL I've created ? Will I have to create a command where the user will send informations to the DLL ?

Thank you all.

Kindest Regards,
Fred

Posted: Tue Sep 30, 2008 1:23 pm
by Fred
No, as the internal symbols aren't shared with the DLL.

Posted: Tue Sep 30, 2008 1:55 pm
by freddix
So, I'll have to create a procedure inside my DLL to receive the informations I need from the main PureBASIC program ?

Posted: Tue Sep 30, 2008 1:55 pm
by Fred
Yep.

Posted: Tue Sep 30, 2008 2:14 pm
by freddix
Ok.

Thank you Fred for these informations.