Java Native Interface (For using code made in windriver)

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?

Check thread at :

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 :slight_smile: Actually writing code

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