It would be nice, to have a predefined constant to compare, what my code is compiled. To a EXE or DLL file.
thxs
Josh
Predefined constant for compilerdirektives. EXE or DLL
Predefined constant for compilerdirektives. EXE or DLL
sorry for my bad english
Re: Predefined constant for compilerdirektives. EXE or DLL
+1
Code: Select all
#PB_Compiler_Target : Determines the target type for which the program is compiling. It can be one of the following:
- #PB_Target_Gui : compiling a GUI application
- #PB_Target_Console : compiling a CONSOLE application
- #PB_Target_Library : compiling a LIBRARY ( DLL on Windows )
- #PB_Target_PureLib : compiling a PB LIBRARY (will it ever be possible without TailBite?)
Re: Predefined constant for compilerdirektives. EXE or DLL
In the meantime i have written a workaround for my problem. I'm using a precompiler and with the parameter %EXECUTABLE it was easy to make my own constants for compilerdirectives.
josh
josh
sorry for my bad english