[IronPython] What is .AppendChunk expecting?

Curt Hagenlocher curt at hagenlocher.org
Thu Aug 28 07:00:47 CEST 2008


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



More information about the Ironpython-users mailing list