Re: How to differenciate a DispatchPtr class type

Morten Andersen <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Organization Arosii Information Systems A/S
Message-ID <[email protected]>
Hi Chee

First a background question, to better understand your problem: Are you
using the latest binary, or the CVS-head version?

Chee Yee wrote:

> 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.

You don't the know the return type from the context and/or parameters
you call the method OraDatabase.CreateOraObject in?

When you say the type of the returned object is DispatchPtr, is that
only the declared type that is DispatchPtr, or is the runtime type of
the object also DispatchPtr (you can test with obj.getClass().getName()).

Best Regards
Morten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.