[Python.NET] Python 2.4 hang when calling .NET dll function

2005-03-25 Thread Torgeir Johansen
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

Re: [Python.NET] Python 2.4 hang when calling .NET dll function

2005-03-25 Thread Stan Pinte
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

RE: [Python.NET] Python 2.4 hang when calling .NET dll function

2005-03-25 Thread Brian Lloyd
> >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

[Python.NET] Python 2.4 hang when calling .NET dll function

2005-03-25 Thread Torgeir Johansen
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