Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Slide
Just a question, is the CPython stdlib in your IRONPYTHONPATH or added to sys.path? slide On Fri, Apr 20, 2012 at 2:18 PM, Dino Viehland wrote: > I'd suggest running w/ -X:ExceptionDetail and sending back the stack trace > that you > get as that'll tell us where the exception is coming from. >

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Dino Viehland
I'd suggest running w/ -X:ExceptionDetail and sending back the stack trace that you get as that'll tell us where the exception is coming from. > -Original Message- > From: [email protected] > [mailto:ironpython-users-bounces+dinov=microsoft@pytho

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Slide
As I mentioned, I ran both ipy64.exe and ipy.exe (you can see from my output that is shows a 64-bit runtime for ipy64 and a 32-bit runtime for ipy.exe and it made no difference. They both worked for me. slide On Fri, Apr 20, 2012 at 1:46 PM, Bruce Bromberek wrote: > Looks like you are running 32

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Bruce Bromberek
Looks like you are running 32bit python on a 64 bit OS On 4/20/12, Slide wrote: > I am unable to reproduce this, I am also running Win7 x64 > > Running with ipy64.exe > > IronPython 2.7.2.1 (2.7.0.40) on .NET 4.0.30319.261 (64-bit) > Type "help", "copyright", "credits" or "license" for more infor

[Ironpython-users] Question on exposing collections

2012-04-20 Thread Igor Brejc
Hi, I'm developing a C# API that will be exposed to users via IronPython. I'm a bit confused on what types of collections should the API provide through its public interface (both as input and output parameters of methods and as properties). For example, what type is most suitable for exposing li

Re: [Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread Slide
I am unable to reproduce this, I am also running Win7 x64 Running with ipy64.exe IronPython 2.7.2.1 (2.7.0.40) on .NET 4.0.30319.261 (64-bit) Type "help", "copyright", "credits" or "license" for more information. >>> from ctypes import * >>> class foo(Union): ... __fields__ = [("t", c_uint),

[Ironpython-users] ctypes module in version 2.7.2 can't create Union values

2012-04-20 Thread mva
Dear all, on a 64-bit Windows 7 machine (other platforms untested), I find myself unable to create a ctypes.Union-based class wrapper for a C type. Regardless of what kind of Union I create, it always ends up with a "object reference not set to an instance of an object" error from .NET. Find

[Ironpython-users] IronPython, Daily Digest 4/19/2012

2012-04-20 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] IronPython engine fails to load under Silverlight (MethodAccessException) 2. [New comment] IronPython engine fails to load under Silverlight (MethodAccessException)