[python-win32] Arrays in Python Com servers

Scott Prive scottprive at earthlink.net
Fri May 2 20:50:41 EDT 2003


A partial answer to tide you over until you have a more complete response..
:-)


I suggest Mark's book, Python Programming  on Win32. There is quite a bit on
dealing with COM.
I am only 100 pages into the book, so I can't comment too much.

Did you mean win32 events? I don't see that in the book anywhere (and I
could be wrong). There have been some message threads on this subject I've
seen in the mail archives.

--Scott





----- Original Message ----- 
From: "Craig Taverner" <craig.taverner at comopt.com>
To: <python-win32 at python.org>
Sent: Friday, May 02, 2003 4:44 PM
Subject: [python-win32] Arrays in Python Com servers


Hi,



I've recently started trying out python on windows for writing COM
servers to be used in VB and C# user interfaces. I have one specific
question:



How do I return an array of integers or an array of floats to the VB COM
client?



The only documentation I really been able to find on COM servers in
python has been Mark Hammonds last conference presentation, and
associated samples. This covers COM clients in python more than it does
COM servers. If anyone knows of some good (preferably on-line)
documentation on writing COM servers, I'd love a pointer.



Also, I'm interested in information on how to trigger events from
Python. Again I've seen examples and discussions on how to handle
events, but not on firing them.



Thanks, Craig



P.S. What I'm really working with is the ESRI ArcObjects library, so if
anyone has experience with that, I'd be extremely pleased ;-)


_______________________________________________
Python-win32 mailing list
Python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32




More information about the Python-win32 mailing list