Solved

moving from visual c++ 4.0 to 5.0 using mfc

Posted on 1998-07-29
4
185 Views
Last Modified: 2013-12-14
I'm new to Visual C++.
Right know I am learning how to make 3D application using Direct 3D. My reference book is "3D Programming in Windows" by Nigel Thompson. The book use Visual C++ ver. 4.0 for the compiler.
I try the samples from the book, and it works fine with Visual C++ 4.0. But when I use Visual C++ 5.0 the compiler  stop at the linking process. It tells me : cannot find mfc40d.dll
facts : the mfc40d.dll file is there, and I try to put it on  the project setting, and directories option, but the program still won't work.
Anybody know the answer for this question ???
Thank you....
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
  • 2
4 Comments
 
LVL 23

Expert Comment

by:chensu
ID: 1169016
Recompile it with Visual C++ 5.0, it should not look for mfc40d.dll. What exactly is the error message?
0
 
LVL 7

Accepted Solution

by:
psdavis earned 50 total points
ID: 1169017
You probably have a file that is compiled in .obj from VC4.0 and needs to be recompiled.  

There is the option 'Project - Clean' that should remove all old .obj files.  Then do a 'Project - Rebuild All'.

Reject the answer if it doesn't work and provide us with more info.

Phillip

0
 

Author Comment

by:eko072398
ID: 1169018
As you see, I'm new to Visual C++.
In the samples I'm using the author library and header files.
I guess that when I rebuild all, and do project-clean, the compiler does not compile the library and the header files.
How do we recompile the header and the library files ?
Is there any chance that the header and library file using command that only works for older version of mfc ?
Thank you for your suggestion
0
 
LVL 7

Expert Comment

by:psdavis
ID: 1169019
Hmmm...

What are the 'author' library and header files?

When you do a rebuild all, it doesn't compile WHAT library?

I'm overly confused on what you're asking.

Is this a project for an executable or a DLL library?  

Phillip
 
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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

730 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