Skip to content

How to invoke non-dispatched member functions? #52

Open
@mkarg

Description

@mkarg

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? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions