PDA

View Full Version : Converting VC++6 to VC++8, Wrong Library Files


dkennington
07-13-2006, 04:53 PM
I need to edit a program. The program was made with VC++6.

All I have is VC++8, aka 2005.

When I run the program to edit it, it gives me, do you want to convert, which I have to say yes. Then when I try to compile the program I get the error. Cannot open mfc42d.lib.

After much forum browsing I found out that this file is for VC++6. The files I have are mfc80d.lib.

So I either need to get the program to use the newer files, or I need to get the older files somehow, which isn't going to be possible unless someone were to send them to me. Which I'm guessing is probably illegal.

So basically, How do I tell my program to use the newer files?:confused:

Thank You,
Dave

oracleguy
07-13-2006, 05:17 PM
I assume you are getting a linker error because it can't find the library?

Go to the properties of the project (not the solution) and then under Linker go to Input and there is line for additional dependencies. Is mfc42d.lib in there? If it is, replace it with the mfc80d.lib and give that a shot.

dkennington
07-13-2006, 07:34 PM
Nope, something else was in there.
I really don't have a clue what im doing.
So I took screenshots of every option under linker.
If anyone wants to take a look at it?:)
http://www.davekennington.com/help.html