๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2963

Re: Can not call a 16-bit (VC 1.5) from a 32 Bit app

#2963
From: Mickey Williams
Date: Fri, 06 Nov 1998 00:00
22 lines
1908 bytes
S๏ฟฝbastien Jean wrote in message <71qth8$73o$1@news.pubnix.net>...

[snip - basically trying to build 16-bit DLL to be called from 32-bit land]

>SO, when I build and compile the DLL file , there is not error message.
>When I try to call, with VB 32bit under Win 95, or PowerBuilder 32-bit under
>win95, one
>of this 2 functions below... It's always say ...



>   "Error opening obrspen.dll"


You must implement a thunk. BTW, it's not possible to thunk from a 32-bit executable to a 16-bit DLL in the operating
system formerly known as Windows NT.

---
Mickey Williams
Author - Programming Windows NT Unleashed
Teach Yourself Visual C++ in 24 Hours
Essential Visual C++
Technical Details
Message-ID: <71uemg$aj3@chronicle.concentric.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <71qth8$73o$1@news.pubnix.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 112bcc,1e7144339b3cee2c
X-Google-Attributes: gid112bcc,public
X-Google-Thread: fe37d,1e7144339b3cee2c
X-Google-Attributes: gidfe37d,public
X-Google-Thread: 114950,1e7144339b3cee2c
X-Google-Attributes: gid114950,public
X-Google-Thread: f935d,1e7144339b3cee2c
X-Google-Attributes: gidf935d,public
X-Google-Thread: 113dfb,1e7144339b3cee2c
X-Google-Attributes: gid113dfb,public
X-Google-Thread: fa08f,1e7144339b3cee2c
X-Google-Attributes: gidfa08f,public
X-Google-Thread: 105df1,1e7144339b3cee2c
X-Google-Attributes: gid105df1,public
From: "Mickey Williams" <mickey.williams@codevtech.com>
Subject: Re: Can not call a 16-bit (VC 1.5) from a 32 Bit app
Date: 1998/11/06
Message-ID: <71uemg$aj3@chronicle.concentric.net>
X-Deja-AN: 408967816
References: <71qth8$73o$1@news.pubnix.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Concentric Internet Services
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.vxd,comp.os.ms-windows.programmer.win32,francom.programmation,microsoft.public.win16.programmer.gdi,microsoft.public.win16.programmer.kernel,microsoft.public.win16.programmer.pen,micr