I am working on a project which needs to use an dll api originaly written to be used with visual basic or other microsoft platform languages like VC++ etc.
Is there any way to use a dll api in java , I heard that using JNI we can do this, but could not get the proper information to use JNI for invoking objects and their methods into java application which are embedded inside dll api.
Is there anybody who has ever done this before and can share his experience with me here.
But as you mentioned that we need to make dll JNI compatible, what we need to do for that?
Actually the api i want to use is a third party api and i dont have source of it and hence it is next to impossible to make any change in that dll. Is there any way so that we can invoke dll without touching it.