Hi,
We are facing the same problem / opportunity.
We have recently made good progress in building a prototype interface between C++ and the networktables-desktop.jar java library on the drive laptop Windows platform by using JNI (Java Native Interface).
There is also suggestion from charrisTTI via ChiefDelphi a few years ago at
http://www.chiefdelphi.com/forums/sh...d.php?t=103352 that IKVM can be used to convert the .jar into a .dll. Generally, see:
http://www.ikvm.net . I have tried it, but I haven't myself had much luck with that beyond the immediate conversion.
It's a little subtle, though.
Basically, the plan is:
-create a JVM instance with its class path pointing at the networktables-desktop.jar
-find and call the appropriate Java methods
If using Visual Studio 2010 C++, which is what we are doing, one has to take some care that the system PATH environment variable is set correctly for the JRE (Java Runtime), etc.
If there is interest, I may be able to post very rough but working code samples via GitHub.
I look forward to responses.
Best,
Martin Haeberli
(one of many)
Mentor(s) to FRC team 3045 - SWAT - San Mateo, CA
----
PS - where is the original NetworkTables java code kept - in GitHub? The WPI FirstForge code doesn't seem to be the most current.