This is a very strange approach to call JNI SDK from java code. Why do not write the native code in C++? The only problem is that JNI SDK is not friendly and very difficult in use. This problem can be solved in the way other then JNIWrapper. For four years I have been developing Object Oriented JNI SDK and Add-In for Microsoft VC++ 7.1. This tool generates C++ JNI class wrapplers for java classes selected (in bytecode format). JNI programming become Object Oriented, all JNI specifics are generated and wrapped.
The demo version of OOJNI Add-In for MS VC++ 7.1 is available at http://shareware.pcmag.com/product.php[id]90910[SiteID]pcmag http://simtel.net/product.php[id]90910[SiteID]simtel.net