EDN Admin
Well-known member
<P>I have an project that was originally developed as a C++ 7.1 native application. I converted it to VC++ 8 and kept it a native application and it worked fine. This project has always made use of MFC as a statically linked library.</P>
<P>I now want to make use of the CLR. The first step in doing this is to change the use of MFC to shared dll. When I do this (with no other changes) my application gets the "MFC80D.DLL was not found" error. My project properties are set to create a manifest and I can see it being embedded at link time. I tried putting the MFC80 runtime dlls in SYSTEM32 and the application then croaks with a manifest related error because the dlls are being loaded from SYSTEM32 instead of through the manifest. All of the MFC80 runtime/debug files exist in the SxS directories.</P>
<P>If I create a new project in VC++ 8 with MFC statically linked,I can freely switch between that and MFC as a shared dll. There are no issues with this and it works fine.</P>
<P>This leads me to believe that there is something amiss with my converted project. Does anyone have any ideas how I can get this working?</P>
<P>I am using the release version of Visual Studio 2005 Professional and am using Windows XP Professional SP2.</P>
<P>Thanks,</P>
<P>Mark Forbes</P>
<P> </P>
<P> </P>
<P> </P>
View the full article
<P>I now want to make use of the CLR. The first step in doing this is to change the use of MFC to shared dll. When I do this (with no other changes) my application gets the "MFC80D.DLL was not found" error. My project properties are set to create a manifest and I can see it being embedded at link time. I tried putting the MFC80 runtime dlls in SYSTEM32 and the application then croaks with a manifest related error because the dlls are being loaded from SYSTEM32 instead of through the manifest. All of the MFC80 runtime/debug files exist in the SxS directories.</P>
<P>If I create a new project in VC++ 8 with MFC statically linked,I can freely switch between that and MFC as a shared dll. There are no issues with this and it works fine.</P>
<P>This leads me to believe that there is something amiss with my converted project. Does anyone have any ideas how I can get this working?</P>
<P>I am using the release version of Visual Studio 2005 Professional and am using Windows XP Professional SP2.</P>
<P>Thanks,</P>
<P>Mark Forbes</P>
<P> </P>
<P> </P>
<P> </P>
View the full article