Re: [python-win32] A shameless COM question (can we close this?)

2008-04-04 Thread Marcus Low
Hi Mark, > Don't underestimate the complexity of writing > asynchronous IOCP based applications in *any* language - just because > something is written in C# and *only* targets one way of handling sockets > doesn't make it the best or most reliable solution. No doubt even given the best mechanism

Re: [python-win32] A shameless COM question

2008-04-04 Thread Mark Hammond
> http://www.patentstorm.us/patents/6223207-description.html > > The advantage of scalability and performance of using IOCP/asynch for > writing servers vs berkeley style select in Windows > is a known thing for windows programmers. ICOP is built right into the > Windows system drivers with the pu

Re: [python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Tim Roberts
Xue Shan wrote: > Hi all, > I'm a Python beginner and trying to run the codes from Chapter 5 of > Python pramming on win32. But when I tested the COM object with VBA, > I got an error msg saying runtime error 438. Is there anyone can help > me out? Thanks in advance! > > Here are the codes: > [

Re: [python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Xue Shan
Hi Tim, Thank you very much for pointing out my mistakes. But, it still doesn't work because of runtime error 438. It seems in VBA it doesn't CreateObject sucessfully. Any ideas of solving it? Thanks a lot! Shan 2008/4/4, Tim Roberts <[EMAIL PROTECTED]>: > > Xue Shan wrote: > > Hi all, > > I'm a P

Re: [python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Tim Roberts
Xue Shan wrote: > Hi all, > I'm a Python beginner and trying to run the codes from Chapter 5 of > Python pramming on win32. But when I tested the COM object with VBA, > I got an error msg saying runtime error 438. Is there anyone can help > me out? Thanks in advance! > > Here are the codes: > [

[python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Xue Shan
Hi all, I'm a Python beginner and trying to run the codes from Chapter 5 of Python pramming on win32. But when I tested the COM object with VBA, I got an error msg saying runtime error 438. Is there anyone can help me out? Thanks in advance! Here are the codes: [Python] class PythonUtilities:

Re: [python-win32] Problem in reading MS Outlook mails.

2008-04-04 Thread Radu Ciora
Try: self.session = win32com.client.Dispatch("Outlook.Application")  Regards, Radu. - Original Message From: Antony Joseph <[EMAIL PROTECTED]> To: python-win32@python.org Sent: Friday, 4 April, 2008 12:09:20 PM Subject: [python-win32] Problem in reading MS Outlook mails. Hi, I am hav

[python-win32] Problem in reading MS Outlook mails.

2008-04-04 Thread Antony Joseph
Hi, I am having problems while i read the mails from Ms Outlook. My code: self.session = win32com.client.Dispatch("Mapi.Session") self.session.Logon("Outlook") Error: 1.(-2147467259, 'Unspecified error', None, None). 2.A MS Outlook pop up a message that: "Either there is