Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Call ActiveX C# dll from java

843829Oct 26 2009 — edited Oct 26 2009
Hello Forum....
I am struggling with a .dll which is not wrote in manged code. I am trying to interface one Contactless RFID reader with its dll provided. The Documentation describes its an activeX dll. I tried

lib = NativeLibrary.getInstance("ContactlessReader"); //ok
fun = lib.getFunction("Connect");

But it doesnt helped me. Throws Function Not Found Exception..

I think the dll uses classes and I need to call
ActiveXContactless.Connect();
here ActiveXContactless is a namespace in the dll.

How i get access to the Connect Function(Connect()) in the ActiveXContactless Class... ?


Help me to solve this problem..

Regards
Anish
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2009
Added on Oct 26 2009
2 comments
354 views