Newbie Q: Win32, COM, Dispatch, Oracle OLE

Mark Hammond mhammond at
Thu May 4 06:51:18 CEST 2000

> >>> oraS.__dict__["_builtMethods_"]
> {'CreateDatabasePool': <function CreateDatabasePool at
> 549c70>, 'GetDatabaseFromPool': <function GetDatabaseFromPool at
> 54dfa0>}
> >>> # Why doesn't it see the GetDatabaseFromPool call????

Good question.  You are correct in that it has seen it OK.

My guess is that Oracle is giving us some bad information.

There are 2 ways we can proceed:

* Run makepy over the typelib, and mail me the relevent generated
functions you show above.  Then I can tell you some magic to type in that
will confirm or deny my suspicions.

* Try using "dumb dispatch":
>>> from win32com.client.dynamic import DumbDispatch
>>> oraS = DumbDispatch("OracleInProcServer.XOraSession")

And see you go...


> Thanks for the assistance.
> --
> "Did I mention I'm immense and immortal?"
> Joel Robinson
> Sent via
> Before you buy.

More information about the Python-list mailing list