multiple C++ files

Hi,

I've been playing with JNI a bit, and i couldnt find information on the following issue:

I want to run C++ functions from different .cpp files from my java class. I've played around with one .cpp file, and am wondering how to use more. Can I do it through one .cpp file thats been adapted to work with Java, and through it call other c++ files "normally", without changing them, or do i have to write them JNI- style as well?

Hope i made myself clear,

tips appreciated.

Yotam.

[520 byte] By [Yo_Soa] at [2007-11-27 1:31:46]
# 1
JNI doesn't run with C++ source files.What it runs with is a shared library.You use a compiler (C++) and a linker to create a shared library. You are free to use a great number of source files in that process.Note finally that JNI interfaces are not C++ method calls.
jschella at 2007-7-12 0:35:08 > top of Java-index,Java HotSpot Virtual Machine,Specifications...