Click to See Complete Forum and Search --> : mfc70.lib?
Syslock
November 27th, 2003, 08:32 PM
I'm trying to compile a program with MSVC 6.0++, and it says that I need a lib
called mfc70.lib. I know this comes with Visual Studio.NET, but I only have MSVC 6.0++.
This looks like the only library file I need. Is there anywhere I can download mfc70.lib?
:confused:
vicodin451
November 28th, 2003, 07:33 AM
Originally posted by Syslock
I'm trying to compile a program with MSVC 6.0++, and it says that I need a lib
called mfc70.lib. I know this comes with Visual Studio.NET, but I only have MSVC 6.0++.
This looks like the only library file I need. Is there anywhere I can download mfc70.lib?
:confused:
What says you need a lib called mfc70.lib? Documentation for the program you are trying to compile?
If you need that library, then at runtime you will likely also need MFC70.DLL, which needs MSVCR70.DLL...
Syslock
November 28th, 2003, 06:46 PM
The compiler is complaining it can't find it.
I have all the DLLs. I downloaded and installed the NET framework from Microsoft's site.
But no library files came with it.
vicodin451
November 28th, 2003, 10:05 PM
Originally posted by Syslock
The compiler is complaining it can't find it.
I have all the DLLs. I downloaded and installed the NET framework from Microsoft's site.
But no library files came with it.
Perhaps you meant to grab the .NET Framework SDK from:
http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en
Syslock
November 28th, 2003, 11:27 PM
I just saw that too, but since I don't have a high-speed connection, I was a bit
hesitate to download a 100MB file, without knowing if it contains library files
or not.
Are you positive it contains mfc70.lib? It'll take me about 6 hours, but I will
download it if someone knows for sure. :eek:
vicodin451
November 29th, 2003, 11:13 AM
Originally posted by Syslock
I just saw that too, but since I don't have a high-speed connection, I was a bit
hesitate to download a 100MB file, without knowing if it contains library files
or not.
Are you positive it contains mfc70.lib? It'll take me about 6 hours, but I will
download it if someone knows for sure. :eek:
The earliest I'll be able to check to see if it contains MFC70.lib is Monday...
MooNull
November 29th, 2003, 10:53 PM
I'm pretty sure MFC dll's don't come with .NET... Isn't MFC a completely different framework... I'm pretty sure Windows Forms are created from Win32 functions rather than MFC.
Anyway, if you need the dll:
1. Make a new project and in its property pages make sure you are using MFC.
2. Look at the projects command line for compiling. A reference to the current MFC dll should be there.
Syslock
November 30th, 2003, 09:59 AM
Well, it must have come from somewhere, .NET or some program installation.
I have:
mfc40.dll
mfc42.dll
mfc70.dll
plus many more DLLs in my C:\Windows\System32 directory. I don't remember
ever seeing mfc70.dll in there before.
DanD
November 30th, 2003, 10:42 AM
I had that problem once too... Your project has already been compiled with .net and it created some obj files dependent on .net libs.
Try cleaning the project and then rebuild...
Just a thought..
HTH,
Dan.
Syslock
November 30th, 2003, 05:11 PM
I wish I could, but it's not my project. They included a compiled .lib file that seems
to be dependent on mfc70.lib, but I can't do anything about it.
vicodin451
December 1st, 2003, 07:43 AM
Originally posted by Syslock
I wish I could, but it's not my project. They included a compiled .lib file that seems
to be dependent on mfc70.lib, but I can't do anything about it.
The DLL help database doesn't indicate that the .NET FW SDK includes MFC70.DLL, so I would be surprised if it included MFC70.LIB, but you could try getting the .NET FW SDK just to be sure. However, since the .NET FW SDK is a free DL, and since the debug versions of the DLLs (MFC70D, MSVCR70D, etc) are not redistributable, I guess I would be surprised if the libs came with anything other than VC++ .NET...
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.