MFC80UD.DLL was not found
-
I migrated a VS2002 solution to VS2005 (MFC application with some DLLs). It compiles without any problem - the warnings from _tcscpy and such methods was fixed. However I can't run the application because it can't locate the MFC80UD.DLL module. When I check the application in Dependency walker it loads without any problem. Even in the Debugger's output window I can see that the given modul loaded the symbols. It reports: Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load I also tried to move the MFC module to System32 folder however it caused another failure during the application start - some manifest issue. To be honest I do not understand this - at least I don't know how to fix it. I just know that this stuff solves the DLL hell problem - different versions of the same DLL. Any idea what is wrong? Thanks, Abyss
-
I migrated a VS2002 solution to VS2005 (MFC application with some DLLs). It compiles without any problem - the warnings from _tcscpy and such methods was fixed. However I can't run the application because it can't locate the MFC80UD.DLL module. When I check the application in Dependency walker it loads without any problem. Even in the Debugger's output window I can see that the given modul loaded the symbols. It reports: Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load I also tried to move the MFC module to System32 folder however it caused another failure during the application start - some manifest issue. To be honest I do not understand this - at least I don't know how to fix it. I just know that this stuff solves the DLL hell problem - different versions of the same DLL. Any idea what is wrong? Thanks, Abyss
I continued with my investigation and found that if I copy the missing MFC80UD.DLL module from the WinSxS folder to the application's folder then the debugger shows the following: 'App.exe': Loaded 'C:\Out\App.exe', Symbols loaded. ... 'App.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_c8452471\mfc80ud.dll', Symbols loaded. ... 'App.exe': Loaded 'C:\WINDOWS\system32\winspool.drv', No symbols loaded. Here the module not found message is displayed if the MFC module is not at app folder. 'App.exe': Loaded 'C:\Out\mfc80ud.dll', Symbols loaded. Well and I'm surprised, because the MFC module gets loaded twice. Can explain anybody why? Thanks, Abyss