Solved

compiling header & library files

Posted on 1998-07-30
1
288 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
[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 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

Industry Leaders: 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

Suggested Solutions

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…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 learn how to clear a vector as well as how to detect empty vectors in C++.

737 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