Solved

Calling 16Bit DLL funcs from 32bit code ?

Posted on 2000-02-25
1
189 Views
Last Modified: 2013-11-20
I am writing a 32bit windows MFC application for NT4

I have a Third party Win3.1 16bit DLL with functions that I need to call.

Is this a valid scenario ?
If so how do I set about it ?

I have the prototypes for the functions in the dll.
0
Comment
Question by:paulgriffiths
1 Comment
 
LVL 7

Accepted Solution

by:
tchalkov earned 100 total points
ID: 2557806
Unfortunately you can't do this under NT4 - only under Win95/98
In WinNT4 only 16-bit code can call 32 bit DLL.
If you want 32 bit code to call 16 bit code trhen you can use DDE, RPC, OLE, Named Pipes, WM_COPYDATA or whatever indirect methof you want. But you can't mix 16 bit DLLs and 32 bit program in one process
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

26 Experts available now in Live!

Get 1:1 Help Now