Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!sdd.hp.com!think.com!linus!linus!news From: dsb@mbunix.mitre.org Newsgroups: comp.windows.ms.programmer Subject: Re: BC++ in protected mode -- how? Keywords: qemm Message-ID: <1991Jun6.113321.12590@linus.mitre.org> Date: 6 Jun 91 11:33:21 GMT References: <43289@fmsrl7.UUCP> Sender: news@linus.mitre.org (News Service) Organization: MITRE Corporation Lines: 39 Nntp-Posting-Host: blodgett.mitre.org 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. > I suspect that you have the *exact* same problem that I had. I believe that it is possible to do build a windows application using BC but it will take an order of magnitude (30-40 minutes vs. 20 seconds) more time to compile and link. Further my machine ran out of memory after about 20 minutes of linking. You *really* want to run BCX. The agrevation getting the BC++ compiler up and running is well worth it. In order to run BCX I need to enter tkernel hi=yes kilos=1024 If this fails (as it did on my system) you're going to need QEMM. QEMM is a wonderful product well worth the $$. -Scott Scott Blodgett The MITRE Corporation dsb@mbunix.mitre.org Communications Control Engineering Burlington Road, M/S G220 Bedford, MA 01730 (617) 271 - 8740 RMake it in Massachusetts, Spend it in New HampshireS