WPF application fail to load C++ dll

0

I hava a WPF application which uses both C# and C++ dlls. On most machines it works properly but I have a few machine which when trying to run the application on them it I get the exception: The module should contain an assembly manifest. (HRESULT:0x80131018) I have no idea about this exception. What can cause this behavior, and what can be the solution?

c#
c++
.net
wpf
dll
asked on Stack Overflow Jul 8, 2013 by user1016179

1 Answer

0

This HRESULT: 0x80131018 is return when a .NET application trying to load C++ assemblies as .NET dlls. The problem ws that in the code I've tried to load C++ dlls via the command: Assembly.LoadFile(path); The problem with the different OSs was depends on the different languages which return the error message in diverse sentences.

answered on Stack Overflow Jul 18, 2013 by user1016179

User contributions licensed under CC BY-SA 3.0