Date: Mon, 6 Jan 1997 13:34:53 +0200 (IST) From: Eli Zaretskii To: Dan Hedlund cc: fayda , djgpp AT delorie DOT com Subject: Re: WinSock in Dos with WIn95 In-Reply-To: <32D05286.5121@rangenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.