openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Openexr-devel] using the openexr C callable interface on Windows


From: Luc-Eric Rousseau
Subject: RE: [Openexr-devel] using the openexr C callable interface on Windows
Date: Wed, 8 Aug 2007 13:20:28 -0400

Perhaps you forgot to copy the .manifest file along with the .dll?
 
Manifest can be internal (linked in the DLL) or an external
<dllname>.manifest XML 
file. I do not use the precompiled package, but I see that it includes
the 
.manifest file.  It should be in the same directory as the openexr DLL
of 
the same name.

If you copied MSVCR80.dll anywhere in the your system for example
your path or Windows directory, delete them.  It must only 
be in the SxS directory and should only be installed with the dotNet 
framework installer.


> -----Original Message-----
> From: Marc-Antoine Desroches
> Thanks for the quick answer.
> 
> I already have the vc8 runtimes installed (I also installed 
> the package  you linked to, just in case).
> At first, if I try to open the dll I get a message saying 
> that it can't find msvcr80.dll. If I copy the ms runtime dlls in the
same 
> directory as the openexr dlls I get the R6040 error.
> Maybe this is happening because the manifest is not embeded 
> inside the dll and/or the application loading it (of course it would
be 
> difficult to embed it in my scheme interpreter).
> 
> I am not very familiar with the way Windows works with "side by side 
> assemblies". I think I could make a small dll with an embeded 
> manifest that dynamically loads IlmImg_dll but that would mean more 
> (and uglier) code.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]