Java Native Access doesn't do C++, right?

后端 未结 4 634
梦谈多话
梦谈多话 2020-11-28 15:01

I\'ve found many references online (including some on stackoverflow) to JNA being used for C++ libraries, but nothing I can find in the JNA docs indicates that\'s possible.

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 15:43

    Youre right JNA is for accesing native libraries. I think what you need is a Java - COM Bridge. If this is the case there are a few free alternatives:

    JCOM http://sourceforge.net/projects/jcom

    Jacob http://sourceforge.net/projects/jacob-project

    I've used Jacob in the pass with good results, but I think it's a little bit outdated.

提交回复
热议问题