Re: [IronPython] Crash

2008-03-07 Thread Harri Vartiainen
I'm testing inside the interactive shell, there are no threads created by me but I think the DLL I am using uses threads. I think the this problem is originated from my own error, when I defined the callback function with no return value (it is expecting Int32). When return value is defined it r

Re: [IronPython] vs 2008

2008-03-07 Thread Dino Viehland
VS 2008 doesn't ship with support for IronPython. There was a recent thread here about VS integration - check out http://search.live.com/results.aspx?q=%22integration%3A+now+i+am+totally+confused%22&mkt=en-us&scope=&FORM=LIVSOP for more information. As for XP vs. Vista it shouldn't make much o

[IronPython] vs 2008

2008-03-07 Thread David Jensen
I recently got vs 2008 professional and a computer powerful enough to run it. Is vs 2008 much better suited to IronPython? Can I now do everything in IronPython that I could do in C#? Can I get by with XP pro, or would Vista Ultimate or Server 2008 (both of which I also just got), be better. I assu

Re: [IronPython] how to use IronPython in Silverlight 2

2008-03-07 Thread Dino Viehland
One problem is that XamlReader.Load takes the string of XAML and not a filename. But there's something about the XAML that isn't working right too. I'm no XAML expert but simplifying it to the code below works, you can probably build something up from that. Personally for my Silverlight hacki

Re: [IronPython] Crash

2008-03-07 Thread Dino Viehland
One thing that might help is running w/ -X:ExceptionDetail to get the full .NET stack trace. I also suspect this exception must be coming from the finalizer thread or from a newly created thread. Is your app multi-threaded? If you create threads w/ Python's thread module then your threads won

[IronPython] Crash

2008-03-07 Thread Harri Vartiainen
Hi, I got my callback eventually working and found one bug/problem: If the callback function returns invalid type (eg. None), the IronPython crashes: Unhandled exception: Traceback (most recent call last): File , line 0, in System.Int32(Int32, Double, IntPtr, Int32)##154 TypeError: Cannot co