调用java中的C函数 [英] calling C functions in java
本文介绍了调用java中的C函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我这是写在C的工具包,我要让这将使用此工具包Java Web服务。我怎么能做到这一点。我怎么能叫这个工具包的功能
I have a tool kit which is written in C. I want to make a java web service which will use this toolkit. how can I do that. how can I call the functions of this toolkit
推荐答案
如果该工具包提供了输出,可你只需要输出和管他们呢?
If the toolkit gives outputs, can you just take the outputs and pipe them?
如果不是,我认为这刚刚是更容易自己动手转换,除非指针都参与。
If not, I think it'd just be easier to convert it yourself, unless pointers are involved.
另外,
http://java.sun.com/docs/书籍/ JNI / HTML /的start.html#769
这篇关于调用java中的C函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文