调用java中的C函数

调用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