Log in

View Full Version : Java Native Interface (For using code made in windriver)


biojae
28-02-2010, 02:13
Is there a way to either use Java Native Interface or JNA to combine C++ code compiled in windriver and Java code from netbeans, to run on the cRio?

From poking around the ported Java vision libraries, it seems as though JNA is used, so C++ code is being called.

How would one go about writing C++ code in windriver that could be used in Java?

derekwhite
01-03-2010, 00:42
Check thread at :
http://forums.usfirst.org/showthread.php?t=14672

biojae
01-03-2010, 01:52
Thank you.

I don't normally check the USfirst forums for stuff like this, but I guess a broader search would have found it.

Now for the fun stuff :) Actually writing code

ideasrule
07-03-2010, 22:46
Check thread at :
http://forums.usfirst.org/showthread.php?t=14672

Thank you Derek for your help. I managed to get the JNA working perfectly, at least for my purposes.