COM freethreaded mode bug?
mic
aldo123 at onet.pl
Thu Feb 5 10:38:19 EST 2004
I enclose simple example of that error:
import sys
sys.coinit_flags=0 #if this one is commented out everything works fine
from win32com.client import Dispatch
ie = Dispatch('InternetExplorer.Application')
ie.Navigate('http://www.creatix.de/support/frames.html')
while ie.Busy == True:
pass
print ie.Document.all.length
print ie.Document.images.length
print ie.Document.frames.length #this is the main source of evil :)
More information about the Python-list
mailing list