Page 1 of 1
Using a library: Your preferred method
Posted: Thu Mar 09, 2006 3:05 pm
by Dare2
People providing libraries for PureBasic can now do it in three main ways.
It may be useful for developers to know which order of preference would suit us best.
Please give your preferences. For example, if you prefer lib/obj via import overall, and dll least of all, pick 6. If you reckon a PureLib beats all else, and an imported lib/obj file sucks, pick 1.
Thanks!
Posted: Thu Mar 09, 2006 3:29 pm
by Rescator
A alternative is missing.
I prefer: include - dll - PureLib - lib/obj (import)
Posted: Thu Mar 09, 2006 3:30 pm
by Dare2
Yes, include is best.
Sourceless, though?
Posted: Thu Mar 09, 2006 4:14 pm
by Num3
Inlcude file, always!
For some custom changes and/or sake of future releases!
Posted: Thu Mar 09, 2006 4:49 pm
by Dare2
Yep. Given, undeniably, that sources are best - which non-source lib.
I went import - dll - purelibrary because import and dll are less likely to break, methinks, with changes to PureBasic.
Import, like PureLib, can also build directly into your prog (with just the used functionality).
Whereas DLL will load all, and unless two or more apps are using that dll it has no advantage over lib.
So lib/obj import. Also because it is cool.

Posted: Thu Mar 09, 2006 6:32 pm
by Shannara
Another option is missing, include - lib, so either of those two but never a DLL since ... well, why have bagage, and runtime files?

Posted: Thu Mar 09, 2006 6:38 pm
by Polo
No dlls for me, so I can't answer the poll
