Date: Mon, 30 Nov 1998 19:06:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Arthur cc: djgpp AT delorie DOT com Subject: RE: Problem with Allegro Examples In-Reply-To: <199811301439.OAA22446@remus.clara.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 30 Nov 1998, Arthur wrote: > > why is it that when I've tried to run the compiled examples > > provided with Allegro in a DOS box under Win98, I usually, but > > not for every example, get the error message "Program too big to fit in > > memory." > Look at the properties tag of your DOSbox. I bet that you've got the DPMI > memory setting too low, or that you've not physically got enough RAM to run > it in. No, this message has nothing to do with DPMI memory. Windows cannot possibly know how much DPMI memory will the program need until it runs it. If there's not enough DPMI memory, the appropriate message will come from the DJGPP's stub loader (something like "Load error: no DPMI memory", you can see it in every DJGPP .exe program). The message cited above comes from the DOS function called by COMMAND.COM to run the program, and it means that there's not enough *conventional* memory in the current DOS box to run the program (as far as Windows and DOS are concerned, DJGPP programs are just DOS executables). The usual reason for getting such messages is that you are trying to run something that isn't a .exe program. Like if you say for example "gcc -c foo.c -o foo.exe" and then try to run the ``program'' foo.exe.