srcanamdw/codescanner/pyinstaller/e2etests/win32/testEnsureDispatch.py
author noe\swadi
Thu, 18 Feb 2010 12:29:02 +0530
changeset 1 22878952f6e2
permissions -rw-r--r--
Committing the CodeScanner Core tool This component has been moved from the StaticAnaApps package. BUG : 5889 (http://developer.symbian.org/webbugs/show_bug.cgi?id=5889).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     1
# for older Pythons, we need to set up for the import of cPickle
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     2
import string
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     3
import copy_reg
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     4
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     5
import win32com.client.gencache
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     6
x = win32com.client.gencache.EnsureDispatch('ADOR.Recordset')
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     7
print x
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     8
x = None
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     9
#raw_input("Press any key to continue...")