-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to invoke non-dispatched member functions? #52
Comments
It can't. You'll have to write a bit of JNI yourself. |
That's really a pity. Are there plans to extend JACOB's functionality in this direction? |
Don't ask me, not my project. But I've been preparing some patches,
well, rewrites, that I hope will become the next version. Fixing a
million memory leaks, for example.
EJP
…_____
From: Markus KARG ***@***.***
Sent: Sunday, 4 February 2024 2:04 AM
To: freemansoft/jacob-project
Cc: EJP286CRSKW; Comment
Subject: Re: [freemansoft/jacob-project] How to invoke non-dispatched
member functions? (Issue #52)
That's really a pity. Are there plans to extend JACOB's functionality in
this direction?
-
Reply to this email directly, view
<#52 (comment)
5352105> it on GitHub, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AELOJ33Y5HWZH7KNXSEFC
ELYRZGXLAVCNFSM6AAAAABCIXELASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTS
MRVGM2TEMJQGU> .
You are receiving this because you commented.
<https://github.com/notifications/beacon/AELOJ364FR6D4HPMNXIR7O3YRZGXLA5
CNFSM6AAAAABCIXELASWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3T
UL5UWJTTSYKFKS.gif> Message ID:
***@***.***>
|
PRs would be great! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to invoke a COM server which only partially supports IDispatch.
It works when calling from C++, but I wonder how to do the same in Java.
That COM-Server exposes a C-interface which extends C-IDispatch (so JACOB is actually able to find it by IID and expose it as Java-IDispatch), but some of its custom C-member-functions are not exposed as COM-IDs or COM-Names! 😢
A C++ client has no problem with this, as the C++ compiler directly uses the vtable to call those unexposed member functions.
But how can JACOB invoke those unexposed member functions? 🤔
The text was updated successfully, but these errors were encountered: