I would like to link with JNI a very simple C program (print Hello and return 1) with B4j.
I have created the library mabibjni.dll with TestJNI0.c TestJNI0.h TestJNI0.def
I have created the TestJNI0.jar and TestJNI0.xml files with B4J_LibraryCompiler.exe from TestJNI0.java
I have put the library mabibjni.dll in the directory Objects of my B4J application JNItest.b4j
When I run the application JNItest.b4, the object s is created and the library mabibjni.dll is loaded. But after I have a java error when I use the method hello.
What is missing?
I have created the library mabibjni.dll with TestJNI0.c TestJNI0.h TestJNI0.def
I have created the TestJNI0.jar and TestJNI0.xml files with B4J_LibraryCompiler.exe from TestJNI0.java
I have put the library mabibjni.dll in the directory Objects of my B4J application JNItest.b4j
When I run the application JNItest.b4, the object s is created and the library mabibjni.dll is loaded. But after I have a java error when I use the method hello.
What is missing?