I think it faudrai consider a system that keeps the compatibility of the new version of PureBasic, with older users Libraries
so, it is not obliged to have any recompiling every time ...
especially since we do not necessarily have the sources ...
[5.20] library users
Re: [5.20] library users
It's not possible, so you have to recompile them everytime as internals can change as we don't provide compatibily at binary level (especially if you are using a third party tool to create PB libs).
-
Little John
- Addict

- Posts: 4869
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: [5.20] library users
I only use 3rd party libraries that I have in the form of source code, so I'm always on the safe side.dobro wrote:especially since we do not necessarily have the sources ...
-
User_Russian
- Addict

- Posts: 1630
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: [5.20] library users
Whether there is an official tool for creating libraries of PB code?Fred wrote:(especially if you are using a third party tool to create PB libs).
Re: [5.20] library users
Lib makers could just compile their libs as DLLs instead,
so they could be used with ANY version of PureBasic.
so they could be used with ANY version of PureBasic.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: [5.20] library users
Of course then by definition you lose the ability to statically link the library into the executable, which many folks here prefer. Tradeoffs!PB wrote:Lib makers could just compile their libs as DLLs instead,
so they could be used with ANY version of PureBasic.
Re: [5.20] library users
You can embed the DLL into the final exe and then extract
it to %TEMP% to access it; but as you said, it's a trade-off.
it to %TEMP% to access it; but as you said, it's a trade-off.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: [5.20] library users
You can also initialize it directly in memory. There is a lib for that: http://www.purebasic.fr/english/viewtop ... 27&t=44091PB wrote:You can embed the DLL into the final exe and then extract
it to %TEMP% to access it; but as you said, it's a trade-off.
The trade off is the application size. Staticly linking a lib results in a much smaller executable.
- Kwai chang caine
- Always Here

- Posts: 5709
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: [5.20] library users
I believe they talk about TAILLEBITE, but it's not an official toolUser_Russian wrote:Whether there is an official tool for creating libraries of PB code?
Re: [5.20] library users
but ... if we had the ability to color our gadgets and window with Purebasic .... I will not be using already PureColor of Gnozal 




