Ok I have attempted that but with no success. I added:

    timeout = time.time() + 30
    while time.time() <= timeout:
        print 'pumping messages'
        pythoncom.PumpWaitingMessages()
        time.sleep(0.5)

Aside from the 60 'pump messages' prints the output is unchanged. 
     As I understand it the fact that msr.AccountNumber contains the account 
number means that the event has been fired, at least within the OPOS.MSR COM 
object. The specification states that AccountNumber and a few other properties 
are set to the blank string when msr.Open is called. They are only changed as 
part of raising a DataEvent. 
That seems to be the behavior that I am seeing; because until that single 
PumpWaitingMessages the properties remain blank.

                                     -Seth Sims
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to