IPC between Java and C++

后端 未结 3 1517
逝去的感伤
逝去的感伤 2021-02-11 10:52

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:31

    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.

提交回复
热议问题