Java provides a simple way to call native (c, c++, etc) functions from within Java. A class can define a "native" method that, when invoked, actually calls some function on the native side. In this post, I am going to walk through a simple example using Java 1.4.2 and the MINGW C++ compiler in windows.
Read More...