cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/06/15:31:36

Message-Id: <m0yX9s4-000S3GC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Martijn de Munnik <munnik AT fys DOT ruu DOT nl>, djgpp AT delorie DOT com
Date: Wed, 6 May 1998 16:36:53 +0000
MIME-Version: 1.0
Subject: Re: allocating mem with new
In-reply-to: <Pine.OSF.3.95.980506123516.5418A-100000@ruunat.fys.ruu.nl>

Martijn de Munnik <munnik AT fys DOT ruu DOT nl> wrote:

> I use the new operator to allocate mem for an object or simple type. Is it
> possible to allocate all my memory e.g. 48MB or are there some limits. If
> there are limits what sould I do to allocate more mem.

Is possible and impossible ;-)

Under W95:
You can't have more than 64Mb of DPMI memory and:
1) W95 doesn't allow to allocate more than the half of the memory in one call, 
so no more than 32Mb will be provided.
2) Allocating 48Mb with v2.01 will need 64Mb and that doesn't let space for 
the EXE.

So under W95 is impossible.

Under DOS+CWSDPMI:

If you have enough free disk, yes is possible.

SET


------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019