Re: COM Client / Server creation?

2006-03-27 Thread Dan
Thanks, I am going to try to implement with Python.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: COM Client / Server creation?

2006-03-24 Thread John J. Lee
[EMAIL PROTECTED] (John J. Lee) writes:
[...]
 Not covered in the book, and particularly useful for implementing
 native clients and servers is ctypes / comtypes (but still not stable;
 also, I've only personally used it for writing a client, and a very
 simple one at that):
 
 http://starship.python.net/crew/theller/ctypes/com.html

Just to clarify this: ctypes IS stable, and in fact will be part of
Python 2.5 (first alpha to be released in a week or so).  comtypes is
the work-in-progress (though it has been quite useable, at least for
the simple stuff I did, for some time now).  It's all quite elegant,
too.


John

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: COM Client / Server creation?

2006-03-23 Thread Dan
What went wrong...
Operator Error. My appologies. If typed in correctly the example works
perfectly. I was using the PythonWin shell and when I started to type
in it suggested CDispatch and I typed that in. I will be looking to
pick up a copy of the book if I continue to use Python. I still do not
know if it will be sufficient to my purposes. It looks like a very
powerful scripting language. Dan

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: COM Client / Server creation?

2006-03-22 Thread Rene Pijlman
Dan:
New to python. Running under windows xp. Need help getting started
writing COM server and client. 

Highly recommended:
http://safari.oreilly.com/?XmlId=1-56592-621-8
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: COM Client / Server creation?

2006-03-22 Thread Dan
Ive got the chapter from the net on COM. It looks pretty old, 2000.
Also the very first example in the chapter on COM doesn't seem to work.
Is what I am wanting to do possible with Python?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: COM Client / Server creation?

2006-03-22 Thread John J. Lee
Dan [EMAIL PROTECTED] writes:

 Ive got the chapter from the net on COM. It looks pretty old, 2000.
 Also the very first example in the chapter on COM doesn't seem to work.
 Is what I am wanting to do possible with Python?

As long as you're doing IDispatch, essentially anything is possible
with pywin32's COM support.

What went wrong with the first example in the book?

Not covered in the book, and particularly useful for implementing
native clients and servers is ctypes / comtypes (but still not stable;
also, I've only personally used it for writing a client, and a very
simple one at that):

http://starship.python.net/crew/theller/ctypes/com.html


John

-- 
http://mail.python.org/mailman/listinfo/python-list