Mail Archives: djgpp/2000/10/13/02:33:14
From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: 2 quick questions.....
|
Organization: | Pin Eight Software http://pineight.8m.com/
|
Message-ID: | <h39dusk2s1ppt10dlanb7oja0ea8glna0c@4ax.com>
|
References: | <39e4e30f_4 AT spamkiller DOT newsfeeds DOT com>
|
X-Newsreader: | Forte Agent 1.7/32.534
|
MIME-Version: | 1.0
|
Lines: | 34
|
X-Trace: | /bJ8XSGV9xUQsMbBjMjyHUfy6kfmvKudztk4HIyK2FF0To2wpdHU3Ufy39wnSPpaubrfdNR4HJbM!uVDrI7Kx/Li3iPA7KNq+X01vz4t2N9rpCI+6oxaNv/4F1FoICcpzgTufVabWD7BjrfZ/rsUbeP7q!q+8=
|
X-Complaints-To: | abuse AT gte DOT net
|
X-Abuse-Info: | Please be sure to forward a copy of ALL headers
|
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly
|
NNTP-Posting-Date: | Fri, 13 Oct 2000 06:01:32 GMT
|
Distribution: | world
|
Date: | Fri, 13 Oct 2000 06:01:32 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
On Wed, 11 Oct 2000 17:02:35 -0500, "23yrold3yrold" <cbarry AT pangea DOT ca>
wrote:
>1. Sometimes, I get a "virtual memory exhausted" error from DJGPP. What
>would be the best way to fix this?
>Break up the program into several CPP files? Check for memory leaks?
Depends on when you get "virtual memory exhausted."
If it's in cc1plus, break it up. If it's in your code, use YAMD
http://www3.hmc.edu/~neldredge/yamd/
or some other malloc() debugger.
>2. Sometimes (actually, kinda often), when running a program, the screen
>will just blank out to a black screen with a blinking cursor in the
>upper-left corner and do nothing, prompting me to CTRL/ALT/DEL. Also (I
>asked this earlier, but no one replyed) the program sometimes terminates the
>second it starts, because "the Audio device is in use by another
>application."
"the Audio device"? "another application" on single-tasking DOS?
Is this a Windows error message?
In any case, you might want to see how Allegro handles things, and/or
load the program with cprintf()s to dump critical data structures in
real time.
--
<O
( \ GNOME vs. KDE: the game!
X http://pineight.8m.com/nes.htm
This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses. http://www.mcafee.com/
- Raw text -