Главная страница | назад





Article #17390: Creating a non-VCL console project.

 Question and Answer Database
FAQ2390D.txt Creating a non-VCL console project.
Category :Windows API
Platform :All
Product :All 32 bit
Question:
How do I create a small footprint, non-VCL, non-console project?
Answer:
Create a new application, then, from the View... Menu option, start
the "Project Manager", and remove all units from the project. Then
from the View... menu option, select "Project Source" and edit it so
that it looks like the below example. Note: You can add and use
additional units, so long as you do not use any VCL components.
Example:
program Project1;
{$R *.RES}
uses SysUtils;
var
f : TextFile;
begin
AssignFile(f, 'TestFile.Txt');
ReWrite(f);
Writeln(f, 'Test');
Close(f);
end.
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99