Your thoughts DLL/Userlib/Both

Everything else that doesn't fall into one of the other PB categories.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Your thoughts DLL/Userlib/Both

Post by Dare2 »

Some libs are not backwards compatible with old versions of Purebasic.
Some libs are not updated when PureBasic is, and break.

DLL's won't break when PureBasic advances.

If both were created by the LIB author, then a using app can move on (the app author can change old code to use the old DLL - or incorporate the new DLL and stay with an older version of Purebasic).

This seems to take some of the responsibility off of someone sharing something and then being stuck with maintaining it. It also seems to take away some of the "will I get marooned" fear away from using a userlib.

But if it seems so obvious and doesn't happen, then there is probably a downside. Is there?
@}--`--,-- A rose by any other name ..
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

G'day Dare2,

your proposal seems logical, I'm not too sure about a downside. Perhaps calling code in DLL's is somewhat slower?
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Post Reply