www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/18/05:02:27

Date: Thu, 18 Apr 1996 11:52:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Karim Abdelkerim <karim AT worldnet DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: Problem to run a DJGPP compiled program under WINDOWS 3.1 !!!
In-Reply-To: <4l2as8$eum@aldebaran.sct.fr>
Message-Id: <Pine.SUN.3.91.960418114352.10058D-100000@is>
Mime-Version: 1.0

On 17 Apr 1996, Karim Abdelkerim wrote:

> I compile a Clipper5.2d program and link it with BLINKER3.1, I use a 
> SWPRUNCMD(...) BLINKER routine to run a DJGPP compiled and linked program. 
> Under DOS, there is no conflit between the BLINKER DPMI and CWSDPMI, but in a 
> DOS window under WINDOWS3.1 a problem occurs and I get the CWSDPMI error 
> message "Load error : can't switch mode.".

No, under Windows the DJGPP startup code doesn't load CWSDPMI at all, it 
just uses the DPMI services of Windows.  The error message that you see 
comes from the startup code that tries to switch to protected mode an 
somehow fails.

Can you give any details about the "BLINKER DPMI"?  Then people who 
understand the intricacies of DPMI might give you a solution if there is 
one.  For instance, can BLINKER use the DPMI services of Windows?  Is it 
a 16-bit DPMI program or 32-bit?  Does BLINKER allow offer method of 
running commands other than SWPRUNCMD and if so, did you try it and what 
happened?

Also, can you run the program called go32-v2 under BLINKER with the same 
SWPRUNCMD routine?  If so, can you tell what does go32-v2 print when 
invoked with no arguments?

> So I think that I must desactivate the Windows3.1 DPMI but I don't know 
> how. 

As far as I know, there is no way to do that.

- Raw text -


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