Mail Archives: djgpp/2001/01/10/18:21:40
From: | "Nate Gaida" <ngaida AT jasc DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | dos memory fun
|
Lines: | 31
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
Message-ID: | <b2676.2133$W_3.266121@news.uswest.net>
|
Date: | Wed, 10 Jan 2001 17:12:30 -0600
|
NNTP-Posting-Host: | 207.109.13.10
|
X-Trace: | news.uswest.net 979168519 207.109.13.10 (Wed, 10 Jan 2001 17:15:19 CST)
|
NNTP-Posting-Date: | Wed, 10 Jan 2001 17:15:19 CST
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Ok, here's my problem:
Wrote a program, complied with djgpp, works fine. (ran into that whole
win2000 crash thing. ick)
Program is targeted to run in a DOS only environment, using the standard
CWSDPMI.
Anyway, I need to launch a program, and once i've launched that, I'm done.
problem is, i run into
"CauseWay error 12 : Not enough memory to load application" which is a DOS
error.
Now, this error is a result of there being only about 430K left below 640K
while my program is running. The program I need to call requires around
600K free. Runs fine without my program running, but errors when called
from inside my program.
Running this situation in a DOS box under Win95 works fine, but that won't
work for the end result.
Now, am I just screwed or is there memory management tricks I can use to
make this work?
I'm very un-familiar with memory management from a programming standpoint,
but a few tips (if this is even possible) should point me in the right
direction.
Thanks!
Nate Gaida
- Raw text -