Solved

Calling 16Bit DLL funcs from 32bit code ?

Posted on 2000-02-25
1
192 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
[X]
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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

726 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