I have a legacy C++ code which is ported to Android. When calling free on strings, a random crash is occurring. Crash is observed in ran开发者_运维知识库dom places. Is there a tool which can be used t
I\'ve got some C functions which I am calling through JNI which take a pointer to a structure, and some other functions which will allocate/free a pointer to the same type of structure so that it is a
I could not find any answer related to this question.I开发者_Python百科 wonder if it is possible.Here is my problem.
I\'m using the JNI invocation API, which starts a JVM within a C program; in this situation, you get a JNIEnv pointer which remains valid until you explicitly destroy the JVM.
I need to compare 2 byte arrays and know which one is bigger or if they are equal (just equal or different is not enough).
I have made a little program in java that accepts a string as a user input. Now i have made a dll writing its code in Visual C++. when i run my program from netbeans it displays this exception.
I have some existing C code that uses ICMP raw sockets to do Ping and I need to use this code in Java as Java does not support ICMP packages. When I wrap the code in JNI and call it, the C code fails
I am currently trying to diagnose a slow memory leak in my application. The facts I have so far are as follows.
Im trying to create a simple dll file.Im following the tutorial http://java.sun.com/docs/books/jni/html/start.html
I have some methods in a Visual Basic 6.0 DLL that I nee开发者_如何学Pythond to access in Java 6.0. How do I do this?The Java Native interface is your friend. But the easier way should be using the Ja