Re: COM Server crashing when returning large arrays

2006-05-24 Thread Alastair Alexander
n > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alastair Alexander > Sent: Monday, May 22, 2006 6:27 PM > To: python-list@python.org > Subject: COM Server crashing when returning large arrays > > Hi ... I'm using python

Re: COM Server crashing when returning large arrays

2006-05-24 Thread Alastair Alexander
Thanks for the replies Tim & Stefan I'm using Python 2.3.5 on XP and the PythonWin build number seems to be 201 ... I'll see if I can find 207. The following blows up on both an XP and Win2k box ... both have same build of Python and PythonWin: import sys clas

COM Server crashing when returning large arrays

2006-05-22 Thread Alastair Alexander
Hi ... I'm using pythoncom to create a python COM server application that needs to be able to return large arrays to COM client apps. For example, I need to be able to return an array to Excel that is 500 by 10, with each element of the array holding a 32 byte string. If I run the code for smal