[Python.NET] Error when trying to import a C# DLL
Darryl Pogue
dvpdiner2 at yahoo.com
Sun Sep 24 03:51:24 CEST 2006
I'm getting this error when ever I try to use
Assembly.Load("Huru.Plasma.dll")
I need to be able to access the dll's classes in order to translate data from one format to another.
I get this output on the console:
CLR.System.BadImageFormatException: Exception from HRESULT: 0x8013141D.
at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(Byte[] rawAssembly)
-------------------------
I have tried using
import CLR.Huru.Plasma
but it tells me that there is no module named Huru.
The dll is in the GAC. I am able to access all System dlls and DirectX dlls, but not my own C# dll.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20060923/0f35fc1f/attachment.htm
More information about the PythonDotNet
mailing list