Re: Newbie: DispatchPtr Class String?

Morten Andersen <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
Hi David

David wrote:
> Hi,
>
> I am having problems using stubs (see earlier post), so thought I'd try
> using DispatchPtr directly.  However I get stuck at the very first step -
> how do I figure out what class string to use for new DispatchPtr("xxx")?
>
> Many thanks, and please forgive if this is very obvious!

No, its not obvious :-). But I think the best thing would be for you to
manually check out the source and documentation from CVS, as both have
been heavily updated since our last binary release (which I suppose you
are using?).

After this, you should probably consult at least the following places in
the documentation:
        docs/jawinuserguide_vtable.html (especially section 1, with a "quick'n
dirty overview of COM terms").
and
        docs/jawinuserguide_dispatch.html (which contains specific information
on using DispatchPtr).

You should do the CVS check and building of the Java-source (you don't
need to build the native DLL, it is checked into CVS) as described here:
        http://jawinproject.sourceforge.net/jawindeveloper.html

You should after this also try to use the Jawin Type Browser again to
generate stub-code, as we may have added configuration for your exact
"return object" problem (from you other mail). But we made this
additions late last summer, so I am not sure (unfortunately our project
admin, haven't had time to make a binary release, thats why you need to
manually check out the source).

Good luck with it, and please let us know how it goes.
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.