This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm a newbie to JNI and I've run across a problem. First, I went thru the standard "hello world" examlpe and it worked fine. Next, I tried to use the same concepts in my application. It's an applet that need to talk to a serial port thru a dll. So, I have a package "foo", which contains an applet "bar", which has a native function "doSomething" When I use javah to generate the header file for "doSomething" the signature is this