Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


using mfc6/mfc5 dll in mfc4

Posted on 1999-07-06
Medium Priority
Last Modified: 2013-11-20
Hi experts,
I want to use a lib/dll file built in msvc 6 in msvc 4, can anyone help please or any thoughts.
Question by:akinbo
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

Accepted Solution

fstab earned 200 total points
ID: 1309042
You'll have to load your project in MSVC 4.0. I'm sure you'll  run into problems when you load the project itself - so if this happens create a new project which you should designate as MFC DLL (or whatever) .. and simply copy the source files into the new directory and add them to your project (using the Classview/File tab on the left of your workspace).

Author Comment

ID: 1309043
Thanx for the reply,
I think I didn't quite ,make myself clear the first time, see, I managed to build the new project with the MSVC 5 compiled lib in MSVC 4, but the real problem comes when I tried to run this application on Win 3.1, as in Win32s, It came up with an error message MSVCRT.DLL is not compatible with Win32s, this is because of the included lib from MSVC 5.
Any suggestion

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
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

705 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