Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOS message - "This program must be run under WIN32"

558 views
Skip to first unread message

Rachel

unread,
Oct 9, 2000, 3:00:00 AM10/9/00
to
Could somebody PLEASE HELP!!! This message appears when I try to
compile my program.
I am using Windows 98 and BTW have MS Visual C v. 6 installed as well.
Don't know if this matters or not.

TIA,
Rachel


Thomas Maeder

unread,
Oct 10, 2000, 3:00:00 AM10/10/00
to
Rachel wrote:
>
> Could somebody PLEASE HELP!!! This message appears when I try to
> compile my program.

It seems that you have booted DOS and try to launch the compiler.

In order to use the command line version of Borland C++, you shouldn't boot
DOS. Boot Windows 98 (NOT DOS!) and open the command prompt or some other
command shell (I'd recommend cygwin http://sources.redhat.com/cygwin/). Some
people erroneously call the command prompt the "DOS prompt" although it has
no relation to DOS.

From the command line, type

BCC32

and you should get output similar to this:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Syntax is: BCC32 [ options ] file[s] * = default; -x- = turn switch x
off
-3 * 80386 Instructions -4 80486 Instructions
-5 Pentium Instructions -6 Pentium Pro Instructions
[snip]

If this is the case, you are at the right place and should be able to
compile your program. If not, please post what you get instead.


> I am using Windows 98 and BTW have MS Visual C v. 6 installed as well.
> Don't know if this matters or not.

Let's hope not :-)

Thomas Maeder

unread,
Oct 11, 2000, 3:00:00 AM10/11/00
to
Thomas Maeder wrote:
>
> In order to use the command line version of Borland C++, you shouldn't boot

Oops, I meant Borland C++ Builder.

0 new messages