Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Global variable JNI

Hi,

 

I am creating a java application to use "NI USB-6008" and other models.

To do this, I created a class (Card.java) that has the methods needed to work with the card. Write files .h and .c and gender "card.dll". View files:

  • Card.java
  • Card1.c

To create Card.h I write in console:

javac Card.java

javah -jni Card


The problem I have is that "card.dll" takes from 3 seconds to respond. As a solution, I chose to create global variables static (Card2.c) but I get the error: "Failed to write core dump. Minidumps are not enabled by default on client version of Windows"

 

To create card.dll I used Dev-C + + and jdk7

 

Am I doing something wrong?
Thanks,
0 Kudos
Message 1 of 1
(5,329 Views)