From: b52g AT usa DOT net Newsgroups: comp.os.msdos.djgpp Subject: Re: PROGRAM WON'T WORK THROUGH WINDOWS 95 Date: Sun, 26 Apr 1998 07:31:59 -0600 Organization: Deja News - The Leader in Internet Discussion Lines: 29 Message-ID: <6hv9fv$d3$1@nnrp1.dejanews.com> References: <35421A78 DOT 20A4 AT bergen DOT mail DOT telia DOT com> NNTP-Posting-Host: 194.126.85.93 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <35421A78 DOT 20A4 AT bergen DOT mail DOT telia DOT com>, john DOT kismul AT bergen DOT mail DOT telia DOT com wrote: > > I've created this game with DJGPP, but whenever I try to run it > through Windows95 it complains about that there's not enough DPMI > memory available, even though I've got 60MB available. > It runs fine through DOS with 40MB available. > DJGPP programs use virtual memory when they run out of physical memory. I assume that your program is doing a voluntary exit because a function you wrote decided there is not enough memory to continue. If so, it depends how you got the available memory. If you use go32 to report the number of free physical pages, then be aware that this value is not guaranteed to be correct under all DPMI servers, and windows might be reporting -4096k to your function. (If you reply by email, please reply to jmorris AT calderauk DOT com, as usa.net seems to have had a major crash.) > Anyone got any suggestions? > -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading