Re: Problem with DispatchPtr
Morten Andersen <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi Tobias
Tobias Widmer wrote:
>
> and the code works well. Within my project I need to invoke the COM-object
> methods WITHOUT a DispatchPtr. Therefore I tried the following:
If I remember correctly the TypeBrowser generated code, actually uses a
DispatchPtr internal :-) (although I am not sure, but you can check the
generated source yourself).
But I assume you for some reason want to use the VTable based COM
interface instead of the IDispatch interface? (I must say, it is a lot
harder to use the VTable based methods).
But I will suggest (as I have done to most other postings right now),
that you check the latest source out of CVS yourself, as described here:
http://jawinproject.sourceforge.net/jawindeveloper.html
A lot of cleaning have taken place in both the source and in the
documentation (especially there is a new document about VTable methods
docs/jawinuserguide_vtable.html).
Please notice that you don't have to compile the native code, but only
the Java code.
Good luck. Best Regards
Morten