delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/23/08:14:38

Message-ID: <19981123131535.12543.rocketmail@send102.yahoomail.com>
Date: Mon, 23 Nov 1998 05:15:35 -0800 (PST)
From: Moris Morisson <morisn AT yahoo DOT com>
Subject: Message: Load error: No DPMI memory
To: djgpp AT delorie DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com




Hello, I would like to ask if there could be some assistance about the
message in the subject line. 
It seems an "easy-to-solve" matter but I have gone through all the
FAQ's questions (to my knowledge extention), and could not find the
reason of it. 
Well, I normally work on a Venturis FX Pentium 5100e Digital machine
which runs Windows NT Workstation version 4.00.1381. To begin with, I
have no administrator rights, but can access root directory files and
edit autoexec.nt.
Ok, the problem is I can compile and run my C programs just fine, but
when I try to compile and run my C++ programs ( gcc -c
prognamesource.cc -o rognamedest.exe) it normally does nothing but
display the prompt again (??- of course! the program displays at least
something more than that!!), or it halts the CMD session. Then, 
I try to compile to obtain the object file ( gcc -c prognamesource.cc)
and use coff2exe to get the 
executable file, this is when the above message appears. When, in some
instance I run go32-v2 it gives me the following information (only a
Netscape Navigator Session, this one, and a couple of  CMD's sessions
are up): 

DPMI memory available: 7639 kb 
DPMI swap space available: 10101 kb 

Machine has 40 MB RAM installed.

FAQ #3.1 says that a minimum of 8MB extended RAM is necessary to run
large C++ programs, but the one I run is a small one and don't think
this plus the linked header occupy too much space in the compiled one.
Also, FAQ#3.3 says under the configuration I have, it's supposed to
work, anyway, reinstallation is not one of my choices either!!

I also checked the AUTOEXEC.NT file (according to FAQ# 6.2 since I
can't load CWSDPMI under NT, of course, I tried to do it first but
certainly doesn't work), and the command line has the following:

REM Install DPMI support
lh %SystemRoot%\system32\dosx

It means, DPMI is indeed, being loaded.

Well, I have no idea where else to go and if something can be done (of
course again, without reinstalling the OS!!), I would really, really
appreciate. I have had a good time with my C programs under DJGPP, and
would like to continue using it for my C++ ones!!
Thanks a lot!! 
Best Regards:

------------------------------------------------------ 
Mauricio Navas
NCST, Mumbai.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019