Page 1 of 1

Wishes for PureBASIC

Posted: Sun Jun 15, 2003 8:33 pm
by idStefke
Hi Support

I wish in the major upgrade an standalone command line compiler and linker because I will build my own IDE

And I want to like to see:

- Project files
- Static linking units or library's
- Creating your own components

Kind regards
Stephane

Re: Wishes for PureBASIC

Posted: Sun Jun 15, 2003 9:02 pm
by PB

Re: Wishes for PureBASIC

Posted: Sun Jun 15, 2003 9:08 pm
by WolfgangS
idStefke wrote:Hi Support

I wish in the major upgrade an standalone command line compiler and linker because I will build my own IDE

And I want to like to see:

- Project files
- Static linking units or library's
- Creating your own components

Kind regards
Stephane
- The compiler IS a standalone command line compiler. Check the PB help file
- There are a lot of external editors available which offer projet files. Go and check www.reelmediaproductions.com/pb
- It is possible to add a dll to your exe. Unfortunately i don´t remember the Name of this tool ... ANY HELP ?
- Components ? Whats that ?

MFG
WolfgangS

Posted: Sun Jun 15, 2003 10:06 pm
by Berikco
All of this is already there :)

Posted: Sun Jun 15, 2003 10:22 pm
by WolfgangS
Berikco wrote:All of this is already there :)
I am very interested to see an example how to call a function from a static library.
Would you please so kind and show me that ?

Thank you ..
WolfgangS

Posted: Sun Jun 15, 2003 10:43 pm
by tinman
WolfgangS wrote:Would you please so kind and show me that ?
You can probably do it with some asm (to make a procedure which puts the parameters in the correct places and call the function from the library), and then using the command line to do the compilation (so that you can add the static library to the call to the linker).

You would also need to figure out which PB libraries are linked in, but they are listed at the top of the commented ASM.

Or, more simply, you could write a .desc file for the functions in the .lib file and create a PureLibrary out of it.