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
Solved

compiling header & library files

Posted on 1998-07-30
1
286 Views
Last Modified: 2010-04-02
I'm praticing to program with Visual C++ from someone's book using Visual C++ 4.0.
When I use Visual C++ 5.0, the program doesn't work.
It seem to me that the header and library from the author, compiled with Visual C++ 4.0.
Is there any chance that the header and library using codes that only works for older version of mfc (mfc40) ?

How can we recompile a library and header files ?
0
Comment
Question by:eko072398
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1169127
There must be a .mdp (Visual C++ 4.0 project file) file that comes with the sample. Open it using the menu File/Open Workspace..., Visual C++ 5.0 will tell you that it needs to convert it into Visual C++ 5.0 project file. Then select the menu Build/Rebuild All. It should work.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

792 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