Microsoft KB Archive/79532

{|
 * width="100%"|

Running Borland C++ 2.0 in Protected Mode Within Windows

 * }

Q79532

-

The information in this article applies to:


 * Microsoft Windows versions 3.0, 3.0a

-

SUMMARY
To successfully run the Borland C++ 2.0 protected-mode compiler (BCX.EXE) under Windows, load TKERNEL.EXE at the MS-DOS command line before you start Windows. Use the following parameters:

"TKERNEL hi=yes kilos=nnnn" where nnnn represents the number of kilobytes of XMS memory for BCX to manage. Borland recommends kilos=2048 (see page 5 of the &quot;Borland C++ 2.0 User's Guide&quot;).

After loading TKERNEL, run Windows in standard mode (WIN /S) or in real mode (WIN /R), and then run BCX.EXE.

NOTE: BCX.EXE cannot be run under Windows in 386 enhanced mode. Run BCX in Windows standard or real mode only.

MORE INFORMATION
For more information, refer to &quot;Borland C++ 2.0 User's Guide&quot; or contact Borland technical support.

The Borland product included here is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.