Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!dftsrv!oneel From: oneel@heawk1.gsfc.nasa.gov ( Bruce Oneel ) Newsgroups: comp.windows.ms.programmer Subject: Re: BC++ in protected mode -- how? Message-ID: Date: 6 Jun 91 12:26:00 GMT References: <43289@fmsrl7.UUCP> Sender: news@dftsrv.gsfc.nasa.gov Organization: STX/GSFC Nasa Lines: 35 In-reply-to: hugh@slee01.srl.ford.com's message of 6 Jun 91 04:27:38 GMT In article <43289@fmsrl7.UUCP> hugh@slee01.srl.ford.com (Hugh Fader) writes: I just installed BC++. I tried to compile the windows hello world example but it seemed to be taking a very long time so I broke out of the compile. Then I remembered a discussion on this group a while back about how much faster compiles run in protected mode. Here's where I ran into a problem. Borland's instructions for running BCX, the protected mode compiler, are to run tkernel, then bcx. However, tkernel seems to clash with himem.sys and smartdrive.sys. If these are installed, when I try to run bcx I get an error message indicating tkernel requires 576K. I think himem.sys is giving all my extended memory to smartdrive.sys. Can anyone help? Is tkernel required when I have himem.sys? My hardware is Compudyne 16/386SX with 2 MB of memory. Thanks in advance. I'll do the simple case and let others do the more complex ones. Take as a given the standard windows setup (himem.sys, smartdrv.sys) It's important to have smartdrv.sys not take up all of you memory. Windows installed mine with a line something like smartdrv 320 0 where the 320 was the size outside of windows and 0 was the size inside windows. If you make this first number (I may have the order wrong, watch the boot messages) too large, then bcx can't get any extended memory and won't run. Try makeing it small (say 200) and right after the computer has booted, type BCX. bruce -- Bruce O'Neel oneel@heasfs.gsfc.nasa.gov NASA/GSFC/STX/Code 664