my dog learned polymorphism
The moose likes Java in General and the fly likes DLL to Java Class files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "DLL to Java Class files" Watch "DLL to Java Class files" New topic

DLL to Java Class files

Joseph Vinodh

Joined: Feb 25, 2003
Posts: 11
Could you please tell me how to convert a DLL file into Java class files?
Is there any tools available for that? If so, how can i get it?
Thank you VeryMuch.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Joseph,
What exactly are you trying to do? There are ways for Java to access native libraries thru JNI, but as far as I know, there is no way to create a DLL with Java. If you have the source code to the DLL and it's written in C, there is a free C2Java converter, although I seriously doubt that it would accurately convert C library code into Java.
Michael Morris
[ February 25, 2003: Message edited by: Michael Morris ]

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I agree. Here's the link:
subject: DLL to Java Class files
It's not a secret anymore!