Preet Rams wrote:@Jeff Thanks for the reply! The C++ part works fine and compiles without any errors.
Just to be clear: It compiles AND you tested its functionality, outside of Java? Or by "works and compiles", do you just mean that it compiles? That's a crucial distinction.
When I try to read the string data in Java using Eclipse, I get a fatal error for exception access violation. So this is a problem with Java.
Again: Copy/paste the
exact, complete error message.
It's 2:30 a.m. where I am, so I'm off to get reacquainted with my pillow soon, and I don't really know much about JNI anyway, but with any luck, with those last to bits of information, somebody else will be able to come in and give you some guidance toward fixing the problem.
Good luck!