Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Martijn de Munnik , djgpp AT delorie DOT com Date: Wed, 6 May 1998 16:36:53 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: allocating mem with new In-reply-to: Precedence: bulk Martijn de Munnik 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