Solved

Calling 16Bit DLL funcs from 32bit code ?

Posted on 2000-02-25
1
187 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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

9 Experts available now in Live!

Get 1:1 Help Now