I have been able to successfully use my .NET DLL (written in C#) using
python 2.4 and the Python for .NET DLLs. I basically have one python module
implementing a class that is using methods from my C# DLLs.
My test application (singlethreaded) ran great, but when integrating the
python module that
Torgeir Johansen a écrit :
>I have been able to successfully use my .NET DLL (written in C#) using
>python 2.4 and the Python for .NET DLLs. I basically have one python module
>implementing a class that is using methods from my C# DLLs.
>
>My test application (singlethreaded) ran great, but when i
> >My test application (singlethreaded) ran great, but when integrating the
> >python module that uses the .NET DLLs in a multithreaded
> program, one call
> >to a .NET function just hangs. All threads are hanging, and I get no
> >response using CTRL+C.
> >
> >I have debugged my application using
Great, Brian.
I successfully reproduced the state with a very
simple application. Here is very dumb python program that uses the
CLR:
from CLR.System import String
class cSharpCaller( object ):
def __init__( self ): print
"Created a cSharpCaller instance"
self.__cSha