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
Solved

How to call functions in 16-bit dll?

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 63
substring method in java 1 129
bigDiff challenge 17 123
twoTwo  challenge 35 107
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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