PureBasic 4.10 Beta 3 for Windows released

Developed or developing a new product in PureBasic? Tell the world about it.
QuimV
Enthusiast
Enthusiast
Posts: 337
Joined: Mon May 29, 2006 11:29 am
Location: BARCELONA - SPAIN

Post by QuimV »

@netmaestro

:)

Thanks a lot.
QuimV
michaeled314
Enthusiast
Enthusiast
Posts: 340
Joined: Tue Apr 24, 2007 11:14 pm

Post by michaeled314 »

I don't really like the highlighted parens :cry:
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Did multiple patterns for ExamineDirectory() make it in the upcoming release?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
akee
Enthusiast
Enthusiast
Posts: 497
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

It is possible to have the Compile and Run feature to generate the executable in the same folder as the source code? This can help with the POLINK error in Vista if it were to be created inside the Compiler folder.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> It is possible to have the Compile and Run feature to generate the
> executable in the same folder as the source code?

Yes, it's in the Prefs.
akee
Enthusiast
Enthusiast
Posts: 497
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

PB wrote:> It is possible to have the Compile and Run feature to generate the
> executable in the same folder as the source code?

Yes, it's in the Prefs.
Hmmm... Where in Preferences? When I click Compile/Run, the exe is always created in C:\Program Files\PureBasic\Compilers\PureBasicN.exe. Like If my source is D:\MYCODE\SAMPLE.pb, then clicking Compile/Run should create D:\MYCODE\SAMPLE.exe.
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

Not sure if this is it.. I think it's in Editor > Defaults > Create temporary executable in source directory. Maybe you have to restart PB for it to take effect, and the exe will be removed after you close the source.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

It doesn't seem to work in the Prefs where mskuma says, but if you go to the
Compiler menu for your app, and select Compiler Options, and the Compile/Run
tab, and select it there, then yes, the exe is created in the source folder.
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

That's what I thought initially, but the pref works if you restart PB. Of course it also works immediately when you specify it directly in the compile options for the source you're working on.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Oh, I see. Thanks for clarifying (I misunderstood at first).
akee
Enthusiast
Enthusiast
Posts: 497
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Hmmm... Seem to get the message "Compiler isn't loaded yet...". :(
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

The compiler menu is where the settings are.

In the preferences, you can set the default values for the compiler menu for newly
created sources. It does not affect already existing ones.
quidquid Latine dictum sit altum videtur
Post Reply