You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using com4j and it's working as expected but I've a problem when it comes to event subscribe that
I can't figure out what's going on, when I subscribe my class some methods are invoked but some not.
fooClass.advise(IFooEvent.class, new FooEventImplementation());
this is an example of a method that is not invoked when the action occurs on the application com side, but I don't see errors or anything related.
@DISPID(213) //this method is not invoked when the action occurs.publicvoidonExit(
intexitCode,
java.lang.Stringdescription) {
thrownewUnsupportedOperationException();
}
@DISPID(214) //this method is invokedpublicvoidonLineChangedEvent() {
thrownewUnsupportedOperationException();
}
Any idea what could it be?
Thanks beforehand.
The text was updated successfully, but these errors were encountered:
I'm using com4j and it's working as expected but I've a problem when it comes to event subscribe that
I can't figure out what's going on, when I subscribe my class some methods are invoked but some not.
fooClass.advise(IFooEvent.class, new FooEventImplementation());
this is an example of a method that is not invoked when the action occurs on the application com side, but I don't see errors or anything related.
Any idea what could it be?
Thanks beforehand.
The text was updated successfully, but these errors were encountered: