Page 1 of 1

Create Static (pb specific) lib file

Posted: Thu Aug 29, 2013 6:30 pm
by jassing
A question(resolved) about generating a static lib from pb to share (dependency on PB's libraries is the issue) -- but what about one to create a lib specific to PB (or heck, even a standard .lib that we could share with other pb users or (more importantly) use internally.

To create a 4th type of file (the 3 being console/window/shared), "a static PBLIB" such that PB users could easily swap a library around and have pb link against it....

That way I could create a lib (for my own use) of my common functions; and when I build an exe, it links against those functions (similar to the way Import works now) Except I wouldnt' need a dll.

Since it's all happening in the PB world; PB-dependency libraries would not be an issue.

Re: Create Static (pb specific) lib file

Posted: Sun Sep 01, 2013 12:58 pm
by lakomet
+1

Re: Create Static (pb specific) lib file

Posted: Sun Sep 01, 2013 1:02 pm
by ts-soft
What is the difference to a userlib? I can't see a difference.

Re: Create Static (pb specific) lib file

Posted: Sun Sep 01, 2013 1:12 pm
by User_Russian
ts-soft wrote:What is the difference to a userlib? I can't see a difference.
This is not an official extension and userlib dependent on on the version of PB.
B userlib installs in PB and can not be used for one particular project, as lib-file.

Re: Create Static (pb specific) lib file

Posted: Sun Sep 01, 2013 1:36 pm
by ts-soft
User_Russian wrote:and userlib dependent on on the version of PB.
and this is unchangable, if the lib based on PB :wink: