File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes about use of dll files in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "about use of dll files in java" Watch "about use of dll files in java" New topic

about use of dll files in java

padmaratna kamble

Joined: Apr 26, 2006
Posts: 26
Dear Friends.

I have a dll which was developed in Visual Basic. If we use that in the VB code we can carry out certain methods.

My concern is: I want to use this dll in my java method. what all the methods that can be used in the VB should also be used in java method.

I know that this can be done using JNI, but please help me for getting starting, I am a bit new to this technology.

thanks so much.
Jason Moors
Ranch Hand

Joined: Dec 04, 2001
Posts: 188
The following tutorial should help, you will need to write a c++ class to wrap the dll.

JNI Tutorial

jQuery in Action, 3rd edition
subject: about use of dll files in java
It's not a secret anymore!