I am trying to call a native (32bit Windows) function from Java code.
Using MSJ++ to write java code.
Using MSVC++ 4.0 to write 32bit windows Dll.
Using JDK 1.1.1
JView.exe is commandline loader from MSJ++, version 1.00.6211 .
Actually I am using HelloWorld sample for JNI. (This sample is in following
page of Javasoft)
So both java code and windows dll compile well.
When I try to run Java program,
it loads the native windows dll (as the dll's DllMain gets called.). Then
the Java code then tryies to call a native function from the DLL.
I get following error message in DOS shell.
(Thats it. No more description. about error)
What is the problem? How do I solve this.
What happens in Java code is, it loads windows dll. Then it calls a function of the dll.
is any mapping between the function being called from Java and the function in Dll, is required?