From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: CWSDPMI Date: Thu, 04 Jul 2002 16:33:01 CDT Organization: Rice University, Houston TX Lines: 19 Message-ID: <3d24bf0d.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1025818622 16906 128.42.105.3 (4 Jul 2002 21:37:02 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 4 Jul 2002 21:37:02 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > When attempting to load CWSDPMI.EXE in real DOS v?.?? (my windows version is > 98 if that helps at all), I get the error message: > "Error: unable to allocate memory for page table" (or such like). > I assumed this meant conventional memory, is this correct? Correct. This means it can't find any free DOS memory to store required page tables. This can be caused by running a non-DJGPP application which loads the DPMI provider but has all the DOS memory allocated, or by trying to lock (against paging) large amounts of physical memory. If it's a non-DJGPP application, there is a CWSPARAM flag which can be set to allocate the page tables early (in the startup phase) but it's much less flexible as far as memory usage. > Having played around with it for a while I've had no joy. > Does anyone have any suggestions on how I can correct this? I'd need more information on exactly what you are trying to do first.