[IronPython] What is .AppendChunk expecting?
Shri Borde
Shri.Borde at microsoft.com
Thu Aug 28 07:04:15 CEST 2008
System.Scripting.Com.VarEnumSelector.GetManagedMarshalType does not deal with VT_ARRAY. Curt, I believe we need to add code to handle this.
Vernon, could you open a CodePlex bug please?
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Curt Hagenlocher
Sent: Wednesday, August 27, 2008 10:01 PM
To: Discussion of IronPython
Subject: Re: [IronPython] What is .AppendChunk expecting?
On Wed, Aug 27, 2008 at 9:51 PM, Vernon Cole <vernondcole at gmail.com> wrote:
>
> 2) implemented as:
> from System import Array,Byte
> a = Array[Byte](map(lambda c: ord(c),elem))
> p.AppendChunk(a)
> gives:
> SystemError: Unexpected VarEnum 8209.
8209 is 0x2011, which is indeed VT_UI1 | VT_ARRAY. Do you know as
what type this argument ends up getting passed when you call this
through pythoncom?
--
Curt Hagenlocher
curt at hagenlocher.org
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list