X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Gerrit van Niekerk" Organization: GPvNO To: djgpp AT delorie DOT com Date: Sun, 01 Apr 2007 21:33:51 +0200 MIME-Version: 1.0 Subject: Re: cwsdpmi "protected mode not availible" on win2k, stub don't work Message-ID: <4610253F.18094.166783AF@gerritvn.gpvno.co.za> X-Confirm-Reading-To: gerritvn AT gpvno DOT co DOT za,gpvno AT telkomsa DOT net X-pmrqc: 1 In-reply-to: References: X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 31 Mar 2007 at 11:30, Jim Michaels wrote: > I get "Protected mode not avcailible" when I run my app under Windows > 2000 consistently, whether I include the stub or whether I have the > cwsdpmi.exe alongside it. > > Without these it just says "cwsdpmi not found". > Something always goes wrong. > > gxx whatever.c > (which generates a.out & a.exe) > exe2coff a.exe > (which generates a) > copy /b f:\djgpp\2.03\v2misc\bin\cwsdstub.exe+a whatever.exe > (which generates whatever.exe) > > and "availible" is misspelled. > > tried this with CMD.exe shell and with command.com. > > If it's of any interest, this computer was made for Windows 98, before > ACPI-compliant power supplies were made, so it must be turned off manually. > I saw the earlier post about ACPI and CWSDPMI having a problem with > windows, but I wasn't quite sure what to make of it in the end. Windows 2000 has it's own DPMI support - you should not use CWSDPMI at all.