How to run: 1. compile Callback.java 2. compile the native code into a shared lib cl /Ie:\j2sdk1.4.0\include /Ie:\j2sdk1.4.0\include\win32 /LD /FeMyImpOfCallback.dll Callback.c 3. run: java Callback
THIS book covers the Java™ Native Interface (JNI). It will be useful to you if
you are interested in any of the following:
• integrating a Java application with legacy code written in languages such as C
or C++
• incorporating a Java virtual machine implementation into an existing app ...