🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2100

Re: Calling 32-bit DLLs from 16-bit-Applications

#2100
From: Troy Barlow
Date: Sat, 03 Feb 1996 17:14
23 lines
1683 bytes
Chris Marriott wrote:
> Wrong. Universal thunks are ONLY available on Win32s. What's needed here
> are "generic thunks"; these are available under Win95 and NT, but NOT
> Win32s.
> 
> There is no thunking mechanism which works under all 3 Win32 platforms :-<
> 
> Chris
> --
> --------------------------------------------------------------------------

   I just finished a device driver VXD for some non-linear video 
hardware we made.  Under Win32s it uses "Universal Thunks" to thunk
from a 32bit dll to a 16bit dll, at this point the 16 bit dll calls
directly into the VXD.  It's almost the same for Win95, but it uses
"Flat Thunks" and a thunk compiler to create the thunk obj files.
After MANY calls to Microsofts DDK support,  and tons of docs, there
is NO WAY to thunk and call a VXD under WinNT.  Thunking don't exist
in WinNT!

   If you could prove me wrong I'd be happy! Soon I might have to port
the VXD code to WinNT.  My understanding is I will have to do some
reading on HAL ;-)
Technical Details
Message-ID: <31139803.61B1@skypoint.com>
Path: arc1-ca.pugleaf.net!skypoint.com!usenet
References: <4enu1u$20c_001@adv.magwien.gv.at> <3110E37C.352C@novabase.pt> <823286049snz@chrism.demon.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!skypoint.com!usenet
From: Troy Barlow <tbarlow@skypoint.com>
Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.basic.visual.misc,comp.os.ms-windows.programmer.ole,comp.lang.c++
Subject: Re: Calling 32-bit DLLs from 16-bit-Applications
Date: Sat, 03 Feb 1996 11:14:43 -0600
Organization: SkyPoint Communications, Inc.
Message-ID: <31139803.61B1@skypoint.com>
References: <4enu1u$20c_001@adv.magwien.gv.at> <3110E37C.352C@novabase.pt> <823286049snz@chrism.demon.co.uk>
NNTP-Posting-Host: dial008.skypoint.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b6a (Win95; I)