Pro*C/C -->Java --->pro*c using JNI
I have some Pro*C code and开发者_StackOverflow社区 some java method.
end user will invoke ProC/C binaries on linux/solaris/aix, it will make call to Java method post execution of java method, call should be back to C/Proc calling function
Any example/POC.
PS : there are many sample to call Java--->C but not much reverse.
No C++ please
How's this example
Using JNA it's quite easy to pass in a callback to the Java-code: https://jna.dev.java.net/javadoc/com/sun/jna/Callback.htmlstrong text
精彩评论