How to differenciate a DispatchPtr class type
Chee Yee <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi, I am generating stubs for the oracle oo4o com objects. There is a OraDatabase function that returns different Com objects in the same function. The function OraDatabase.CreateOraObject(String object, String table) could return OraRef, OraObject or OraCollection objects. The generated stub just return DispatchPtr. My question is, how can I differenciate what the return Type is from the DispatchPtr? Do I have to look at the CLSID of the DispatchPtr to determine that. If that is so, how can I get that info. Thanks for your help, Chee