Wishes for PureBASIC

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
idStefke
User
User
Posts: 25
Joined: Sun May 04, 2003 10:01 pm
Location: BELGIUM

Wishes for PureBASIC

Post 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
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Wishes for PureBASIC

Post by PB »

WolfgangS
Enthusiast
Enthusiast
Posts: 174
Joined: Fri Apr 25, 2003 3:30 pm

Re: Wishes for PureBASIC

Post 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
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

All of this is already there :)
WolfgangS
Enthusiast
Enthusiast
Posts: 174
Joined: Fri Apr 25, 2003 3:30 pm

Post 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
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post 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.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
Post Reply