[Last Call] Learn how to a build a cloud-first strategyRegister Now


Howto make an .exe from a .pas

Posted on 2003-10-21
Medium Priority
Last Modified: 2010-04-16
If for example i need to make an .exe from a program that i wrote (.pas)
how should i proceed ?
Question by:Louis_DePage

Accepted Solution

MannSoft earned 60 total points
ID: 9592555
Compile and link it.

What did you use to write the .pas file?

Author Comment

ID: 9592603
i use turbo pascal 5.5

Expert Comment

ID: 9592635
If it's the same as TP7, just hit F9 and that should compile it.  You should probably take a look at some of the help files before you go much further.  Learning how to properly use the IDE before trying to use it is always a good idea.
LVL 11

Expert Comment

ID: 9593143
As MannSoft says, F9 compiles. To make an exe (rather than have the pascal program run inside the TP environment), you have to set the target of the compilation to disk. This option is found under Compile | Destination. Selecting it will toggle between Memory (runs inside the IDE) and Disk (compiles "somthing.pas" into "something.exe").


Expert Comment

ID: 9597484
in Dev-Pas just press on the compile button, the program will compile your code and afterwards link it to the exe file.
in tubo pascal you have to do that in seperate steps.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question