C++ DLL compile but wont register. Wrong MFC-version?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im migrating a VS6.0 solution to VS2005. The solition contains a project that is a C++ dll using MFC. When i compile it I get error PRJ0050: Failed to register output. (from the custom build step - performing registration)
I tried to register the dll from a command prompt using regsvr32, but it fails with no error message at all (no dialog box).
Other DLLs within the solution works fine so whats the difference? Oh, the problem child uses MFC.... I checked the DLL with Dependency Walker (depends.exe) and compared it to an old working version from VS6.0
Diffs: The new DLL has dependencies with ? to MFC80U.DLL, MSVCR80D.DLL and MSVCP80D.DLL.
The old one refers to e.g. MFC42U.DLL and MSVCP60.DLL

What is really the problem here? Are the ?-files missing or not compatible? Can I make it use old dlls or how should I proceed?
Any hints are most welcome, Im stuck.



View the full article
 
Back
Top