Jump to content
Excelsior Forums
Sign in to follow this  

How do I implement and interface from jet compiled dll?

Recommended Posts


i've got a DLL created with JET from my java code, which is an encapsulated communication package. For the receive there is a method which creates an receiver and registers a listener (which must implement the interface "MyReceiver"). In case of a incoming message the "receive" method of the "MyReceiver" object gets called.

In Java package there is only the definition of "MyReceiver", but no implementation. Now i want to use that dll created by JET from my jar package, and need to call the register method via jni from C-code. I can easily get the correct class (which is only an interface!) via the jni stuff, but i do not have an implementation.

How can I provide an implementation in C-code for that interface?



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this