HighTechTalks DotNet Forums  

about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...)

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Lloyd Dupont
 
Posts: n/a

Default about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) - 01-05-2007 , 01:39 AM






I have a program which run fine on my computer and on some client computer.
However, 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_1fc8b3b9a 1e18e3b_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_1fc8b3b9a 1e18e3b_8.0.50727.163_x-ww_681e29fb\msvcm80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a 1e18e3b_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_1fc8b3b9a 1e18e3b_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_1fc8b3b9a 1e18e3b_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?


--
Regards,
Lloyd Dupont

NovaMind Software
Mind Mapping Software
<www.nova-mind.com>



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.