Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
You would have to write C/C++ code to make a DLL that you can call from Java with native methods. As far as writing the C/C++ code, you can find all the Windows API documented on microsoft's msdn website at http://msdn.microsoft.com/. If you've not programmed Windows API already, you are in for a bit of a learning curve. I reckon you could start with Charles Petzold's Programming Windows book, or find another book that is more specific to what you are seeking (i.e. system programming or shell programming, etc.). - mfg > Does anyone know if it is possible in Java to send commands to the Windows API? If so, how is it done? If not, would using C++ native code work? Lastly, if I have to use C++ native code, does anyone know where I can find out how to do this in C++? Thanks for the help!
Replies: |
Sponsored Links
|