| Author |
how to execute DLL file using Java ?
|
Prakash Karuppusamy
Greenhorn
Joined: Nov 24, 2010
Posts: 7
|
|
how to execute DLL file using Java ?
Thanks,
Prakash Karuppusamy
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12911
|
|
Welcome to JavaRanch.
To call functions in a DLL, you can use JNI (Java Native Interface). See: Java Native Interface: Programmer's Guide and Specification.
Note that to call those functions, they need to have a specific format. You can't easily call arbitrary functions in any DLL from Java; you might need to make your own adapter DLL, that you can call from Java, and that will then call functions in the DLL you want to use.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
|
|
|
Too difficult a question for "beginning Java". Moving thread.
|
 |
Prakash Karuppusamy
Greenhorn
Joined: Nov 24, 2010
Posts: 7
|
|
|
Thank you friends
|
 |
 |
|
|
subject: how to execute DLL file using Java ?
|
|
|