Solved

Calling 16Bit DLL funcs from 32bit code ?

Posted on 2000-02-25
1
190 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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 shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

825 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