IPC between Java and C++

后端 未结 3 519
心在旅途
心在旅途 2021-02-11 10:39

My goal here is to make two separate applications (one in Java and other in C++, both on the same machine) read from the same SQLite database. The C++ implementation already wor

3条回答
  •  臣服心动
    2021-02-11 11:24

    You could use swig. Swig can parse your C/C++ header and generate Java clases/functions of it. The generated code has jni calls to call your c++ clases or your c functions.

提交回复
热议问题