Page 1 of 1

[implemented] constant(s) #PB_Compiler_Executable ...

Posted: Fri Jan 11, 2013 9:20 am
by infratec
Hi,

I have to find out if the program is compiled as GUI or console program.
The code can run as 'daemon' or in the systray

so a constant which reflects the compiler options would be nice:

Code: Select all

CompilerSelect #PB_Compiler_Executable 
 CompilerCase #PB_Executable_GUI
 CompilerCase #PB_Executable_Console
 CompilerCase #PB_Executable_DLL
CompilerEndSelect
Bernd

Re: new constant(s) #PB_Compiler_Executable ...

Posted: Fri Jan 11, 2013 9:43 am
by Demivec
Isn't that already possible in v.5.10b2?
- Added: Compiler Constants: #PB_Compiler_ExecutableFormat (with #PB_Compiler_DLL, #PB_Compiler_Console, #PB_Compiler_Executable)

Re: [implemented] constant(s) #PB_Compiler_Executable ...

Posted: Fri Jan 11, 2013 10:39 am
by infratec
:oops: :oops: :oops:

since I don't 'work' with betas for our productive programs, I missed that.
So I hope 5.10 stable will released soon :D

Bernd