Solved

How to call functions in 16-bit dll?

Posted on 1998-12-09
5
217 Views
Last Modified: 2013-11-20
How can I call some functions in a 16-bit dll in Win32 programming?

I have not the 32-bit version of the dll. Is there some way
for me to work with the 16-bit dll?

Thank you.
0
Comment
Question by:zwwise
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 12

Expert Comment

by:migel
ID: 1325971
Hi! You can use Thunk compiler to create thin layer between your 32-bit app and 16-bit Dll. Example of this process you can find in MSDN or Dr Dob journal(sorry, i am not remember in what volume)
0
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1325972
Another idea would be to create a 16 bit executable that is also a DDE server.  Then from the 32 bit executable communicate to the 16 bit server through DDE. If DDE is too slow, use OLE automation.
0
 
LVL 2

Expert Comment

by:wyy_cq
ID: 1325973
Thunk is want you need ,
there is sample with VC5.
0
 
LVL 86

Expert Comment

by:jkr
ID: 1325974
thui - thunking is indeed the only method when strcutures or references are involved...
0
 

Author Comment

by:zwwise
ID: 1325975
What is more easy, thunk or DDE server?
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question