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