Download and install the Delphi Pascal IDE. A free license is provided for the community edition.
Run the program and select "Create a new Windows VCL Application - Delphi" from the Welcome Page or select File > New > Windows Windows VCL Application - Delphi.
Hint: VCL is a the traditional desktop development library for Windows computers and is similar to WinForms in VisualStudio. Delphi supports a newer cross-platform windowing system called FMX. For this tutorial, I will use VCL.
In the projects windows, right click on "Target Platforms (Windows 32-bit)" > Add Platform > Ok to select Windows 64-bit (assuming you are woring on a 64-bit computer). Also, select "Release" in the Build Configuration for faster build times and small executable code. We will use Debug as needed to resolve development "bugs".
Save the Project Group, Project, and Source Files
Create a project directory such as Desktop > EngineeringTools-Pascal. Create a project directory called Desktop > EngineeringTools-Pascal > HelloPascalWindow. Select File > Save All. Save the .pas file as HelloWindow.pas in the HelloPascalWindow project directory. Save the project as HelloWorldProject.dproj in the HelloPascalWindow project directory. Right click on the project group name in the Projects window and select Save Project Group As... Save the project group as HelloWindowProject in the EngineeringTools-Pascal directory. The project directories should look like this:
Project Organization
- Project Group - Collection of projects (similar to Solution in Visual Studio)
- Project - Collection of pascal source code files
- *.pas - Pascal source code file
- *.dfm - Form source code file




No comments:
Post a Comment