[IronPython] Problems when loading COM object implemented using ctypes

coxchen coxchen at nature.ee.ncku.edu.tw
Wed Jul 6 16:48:49 CEST 2005


I implemented a COM server using ctypes
module and deployed it using py2exe
as a DLL(MyCOMServer.dll).
Then I tried to load this COM server with

>>> import sys
>>> sys.LoadAssemblyFromFile("MyCOMServer.dll")

but got an IronPython.Objects.PythonRuntimeError message.

Did I miss something important when
deploying my COM server so that I cannot
load it using "LoadAssemblyByName"?
Or this is not the right way to load
a COM server in IronPython?

Any suggestions will be appreciated!
Thank you.

- Cox Chen

More information about the Ironpython-users mailing list