Actually, you could look at doing something with Delphi packages, although I haven't tried anything like that myself, so I don't know how feasible it would be.
Create two runtime packages with your different compiled functionality. Your simple launcher exe might then be able to choose which package to load based on the passcode. Like I said, no idea how feasible or easy to implement, that would be, but if it was, it would mean that you then still only have one executable. HTH, Conor -----Original Message----- From: Conor Boyd [mailto:[EMAIL PROTECTED]] [snip] Compile the two versions of your application (with the different compile conditions) into 2 separate executables. These executables should not run unless a particular 'code' (known only to you as a developer) is passed as a command line parameter. Create a 'launcher' executable, which is responsible for asking the user for the passcode. Your launcher should use this passcode to determine the correct code to pass on the command line that it then uses to launch one of your two existing executables via CreateProcess or ShellExecute. [snip] --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/