getting data from C++ to java
797060Jul 22 2010 — edited Jul 22 2010I have patchy experience in both Java and J++, and I have a problem that I need to get around.
I am going to be writing a piece of software with two components, a C++ driver that interacts with a TWAIN usb camera, and a java swing interface. Somehow I need to stream (is that the right word?) data from the c++ program to the Java program (either image information or video information).
I have never done anything like this and I am unsure about how to approach the problem, it seems I might need to use the JNI, but i've never used it, can I stream data between C++ and Java with JNI?
Any help would be greatly appreciated
Thanks