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

Just starting out? Need help? Post your questions and find answers here.
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

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

Post 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 ...
Last edited by luis on Tue Jul 17, 2018 6:29 pm, edited 2 times in total.
"Have you tried turning it off and on again ?"
A little PureBasic review
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

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

Post 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!
"Have you tried turning it off and on again ?"
A little PureBasic review
Post Reply