?
Solved

Calling 16Bit DLL funcs from 32bit code ?

Posted on 2000-02-25
1
Medium Priority
?
196 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

743 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