It is currently Mon May 20, 2013 6:13 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Predefined constant for compilerdirektives. EXE or DLL
PostPosted: Wed Jun 06, 2012 5:35 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 229
It would be nice, to have a predefined constant to compare, what my code is compiled. To a EXE or DLL file.

thxs
Josh

_________________
sorry for my bad english


Top
 Profile  
 
 Post subject: Re: Predefined constant for compilerdirektives. EXE or DLL
PostPosted: Thu Jun 07, 2012 9:47 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 1290
+1

Code:
#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?)


Top
 Profile  
 
 Post subject: Re: Predefined constant for compilerdirektives. EXE or DLL
PostPosted: Fri Jun 08, 2012 11:56 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 229
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

_________________
sorry for my bad english


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Little John and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye