I've been looking on Google all morning and I haven't found a straight answer. Is there a library or package in the Java API that allows us to call exported functions from Window systems DLLs? I'm mainly interested in setupapi, user32, and cfgmgr32 DLLs. I found there was once a com.ms.win32 package in Java 2.0, but I don't see any reference to it the Java 6.0 API documentation. There is the JInvoke software I could purchase, but is there something free? I found some code examples using JNI, but the examples discussed creating my own DLL and call javah to create a C header file; I don't want to do that, either.
I would appreciate just a little guidance on this issue, please.
Thanks!
Sun Certified Programmer for the Java 2 Platform 1.4
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
JNI. You don't need to create your own DLL if you already have a DLL to call. A naive web search: