is it possible to call a C-function from Java?

Hey!I have some extern variables written in C-language, can i get them into a java-file using java? How to do this otherwise?Can i use Native interface java? Or is that only the opposite way?ThanksMikael
[238 byte] By [ironmajka] at [2007-11-26 16:41:01]
# 1

> Hey!

>

> I have some extern variables written in C-language,

> can i get them into a java-file using java? How to

> do this otherwise?

No.

>

> Can i use Native interface java? Or is that only the

> opposite way?

If you wrap that C in C++ and compile it into a .dll or .so you can use JNI.

%

duffymoa at 2007-7-8 23:07:58 > top of Java-index,Java Essentials,Java Programming...