Article View: borland.public.delphi.commandlinetools
Article #296Re: Compiling dos application
From: Kristian
Date: Fri, 25 Feb 2005 10:12
Date: Fri, 25 Feb 2005 10:12
27 lines
1661 bytes
1661 bytes
Well - running this application in dos creates the following error:
"This program must be run under Win32"
Kristian
"Liz" <liz_wants_no_spam@xcalibur.nospam.co.uk> wrote in message
news:xn0dyx5cx77pyub00c@newsgroups.borland.com...
> Kristian wrote:
>
>> I have Delphi4 and want to compile a very simple dos application. I
>> tryed to use dcc32, but of course it made an win32 app. Is it
>> possible to make it work for dos?
>
> Sure you can.
>
> program Project1;
> {$APPTYPE CONSOLE}
>
> var x : string;
> begin
> write('test me: ');
> readln(x);
> end.
>
>
>
Technical Details
Message-ID:
<421ef9f3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<421ef106@newsgroups.borland.com> <xn0dyx5cx77pyub00c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,85c2e830305c64b X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Kristian" <kiversen@nospam.mail.dk> Newsgroups: borland.public.delphi.commandlinetools References: <421ef106@newsgroups.borland.com> <xn0dyx5cx77pyub00c@newsgroups.borland.com> Subject: Re: Compiling dos application Date: Fri, 25 Feb 2005 11:12:00 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 83.88.200.185 Message-ID: <421ef9f3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109326323 83.88.200.185 (25 Feb 2005 02:12:03 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail