Link to home
Start Free TrialLog in
Avatar of Pegasus100397
Pegasus100397

asked on

Stand-Alone compiler switches?

Silly question, but it's been awhile since I've done this. I have Delphi 2.0 and have created a one-form small code program to deal with a text file. My question is what switches in the compiler directives and linker area should be set in order to generate a stand-alone application that's ready to use on another computer? I am not using any portion of the BDE, just reading a text file.

Thanks in advance for your assistance!
Avatar of inthe
inthe

there is a file in the delphi directory called deploy.txt it should explain it all fairly well.
basically you shouldnt need to change any directives but dont quote me on that as i skipped from d1 to d3 so are unsure of d2 requirements.
regards :-)
Hi Pegassus,

   Sorry if I didn't get you right. But if you don't change anything it doesn't generate a stand alone application already?

Reginaldo
yes it would but some of the runtime packages may need to be installed also on the client pc (unless they have any other delphi apps that have installed them already in windows\system).
Hi Pegasus,

   Make the following line the first line of your unit(s) and you're probably done.
{$D-,L-,O+,Q-,R-,Y-,S-}
   
   if not. Let us know.


Tchau,
Reginaldo


Avatar of Pegasus100397

ASKER

Hey all, the .EXE copy on my FDD was flaked. The HDD version worked fine, apparently all was intact.

The advice given here was great, all of it. Please advise on how I can split the credits.

Thanks Inthe & Rarigo.
ASKER CERTIFIED SOLUTION
Avatar of synature
synature

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good Grief...

Tim.