home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!att!dptg!ulysses!ulysses.att.com!mwb
- From: mwb@ulysses.att.com (Michael W. Balk)
- Subject: Re: BORLAND C++ ; new int(1,000,000)
- Summary: 64k data limit per module in huge model
- Message-ID: <1992Dec31.185128.23173@ulysses.att.com>
- Date: Thu, 31 Dec 1992 18:51:28 GMT
- References: <C01upJ.FAx@fig.citib.com>
- Organization: AT&T Bell Laboratories, Murray Hill
- Lines: 25
-
- In article <C01upJ.FAx@fig.citib.com>, ghica@fig.citib.com (Renato Ghica) writes:
- >
- > Is it possible to allocate more than 640K (from extended or
- > expanded memory) on a DOS 5.0 system using a borland 3.1 C++ program?
- >
- > Using the huge memory model, I'm trying to do the equivalent
- > of
- > new int(1,000,000);
- >
- > without commas, of course.
- > I have not successed. (I know I can allocate 64k+ at the time).
- >
-
- According to the Borland 3.1 C++ Programmer's Guide, even though the
- total static data for the huge model can exceed 64k, it must be less
- than 64k within *each* model. Given that statement, I don't see
- how new int(1000000) could ever work.
-
- Mike Balk
- AT&T Bell Laboratories
- Murray Hill, NJ 07974
- mwb@ulysses.att.com
-
-
-
-