Page 1 of 1

Fred / freak - Can you please clarify possible DLL issues ?

Posted: Thu Jun 10, 2010 11:25 am
by luis
After this http://www.purebasic.fr/english/viewtop ... 13&t=42478

and this http://www.purebasic.fr/english/viewtop ... =4&t=42532

I'm starting to really have doubts about what I can do and I can't do when writing a DLL.

Can you please clarify what the warning cited in the thread above means and what the guidelines to use Array,Maps, Lists in a dll are, and about the need or less for global/local variables, and the correct AttachProcess usage... etc.

I'm really confused and I would like to avoid writing fundamentally flawed code just do discover it much later ...

Re: Fred / freak - Can you please clarify possible DLL issue

Posted: Sat Jun 12, 2010 12:48 pm
by luis
And this too http://www.purebasic.fr/english/viewtop ... 13&t=42549

(still DLL related: prototypes, imports and the need for PeekS() when the proto already states .s for the return type)

Maybe a nice "article" about all this in the PB blog, if you have the time, would be really appreciated. At least by me!