Solved

How to call functions in 16-bit dll?

Posted on 1998-12-09
5
181 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This video discusses moving either the default database or any database to a new volume.

705 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now