Hi Gururaj,


To call C functions in Java u have to use JNI( Java Native Interface )

To get better idea of JNI calls follow this,


java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html


If u don't understand this then let me know ASAP

I'll send u some sample code that I have written.


I hope this will solve ur problem.


Amol.