create a simple dll file with JNI
Im trying to create a simple dll file.Im following the tutorial
when i try to compile the c program i get following error :
Warning W8057 HelloWorld.c 10: Parameter 'env' is never used in function Java_He lloWorld_print Warning W8057 HelloWorld.c 10: Parameter 'obj' is never used in function Java_He lloWorld_print
im using Borland C++ Compiler 5.5 i used the following command to compile the c program
bcc32 -WD HelloWorld.c
That's because most JNI functions don't need to reference the env, and some don't need to reference the object. In other words, ignore it.