[comp.os.msdos.programmer] Borland C++ 2.0 Real mode

oneel@heawk1.rosserv.gsfc.nasa.gov ( Bruce Oneel ) (02/28/91)

I know that in the readme file it says that Borland C++ can't generate
real mode windows appps.  Someone from Borland on CI$ says it's a
limitation with tlink and it will generate real-mode windows apps with
the right commands.  I have no choice but to use real mode for now and
I could get whello to build and run but I wondered what I had to do to
make sure that real-mode apps are generated.  

Thanks!!

bruce
--
| Bruce O'Neel              | internet : oneel@heasfs.gsfc.nasa.gov|
| Code 664/STX              |     span : lheavx::oneel             |
| NASA/GSFC                 |compuserve: 72737,1315                |
| Greenbelt  MD 20771       |  AT&Tnet : (301)-286-1119            |

sidney@borland.com (Sidney Markowitz) (03/01/91)

Here's an excerpt from the message that I posted on Compuserve
that you asked about, on how to produce real mode Winapps:

[begin excerpt]

The official position is that Borland C++ does not support the
production of applications to run under Windows' real mode. What is
actually the case is that the production of real mode apps has not
been implemented and QA'd to the point that we are willing to
advertise it as a supported feature of BC++. However, the capability
is there. You need to use the REALMODE keyword in the def file. There
are some circumstances in which TLINK will produce a warning message
that includes a phrase something like "Real mode apps not supported".
If that happens the resulting exe will not run under real mode and
you need to change a reference to a non-public far symbol at the
segment:offset indicated in the message, to make it either public or
not a far reference.
   
So, try it out if you really need it, and report any problems, but we
will not call it a supported feature until TLINK can handle those
cases for which it now produces the warning message and it has gone
through the full QA cycle.

[end excerpt]

 -- sidney markowitz <sidney@borland.com>