www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/06/06:44:16

Date: Mon, 6 Jan 1997 13:34:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dan Hedlund <markiv AT rangenet DOT com>
cc: fayda <austinhs AT WHC DOT NET>, djgpp AT delorie DOT com
Subject: Re: WinSock in Dos with WIn95
In-Reply-To: <32D05286.5121@rangenet.com>
Message-ID: <Pine.SUN.3.91.970106132938.24131F-100000@is>
MIME-Version: 1.0

On Sun, 5 Jan 1997, Dan Hedlund wrote:

> I havent found a way to call the entry point directly from protected
> mode, so I'm just using DPMI functions to call it in real mode from
> protected mode.  (DPMI function 0x0301)

Did you try library function `__dpmi_simulate_real_mode_procedure_retf'?  
It is specifically there for the situations like yours.  It indeed calls 
DPMI function 0x301, but it does a bit of bookkeeping, which might be all 
you need to make the VxD calls work.

- Raw text -


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