|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assemblHowever, recently, it started to crash at launch time with a mysterious error as in the title. After a bit of investigation it is probably a missing native DLL dependency in a Managed C++ library. Investigating a bit more with depends I think the culprit is the following: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\msvcm80.dll On my computer I have 2 versions of it: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\msvcm80.dll C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcm80.dll But on the target computer I have only one version: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcm80.dll And "depends.exe" tells me that my ManagedC++ library is using the other version: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\msvcm80.dll Although both version are quite old (06/2006 & 09/2006) (i.e. it's probably not a recent windows update) I think this is the problem. Now why is the linker is linking to the newer version? How can I link to the older version? Any tips? |
|||||||||||||||||||||||