JNI whithout changing the function named in C program
mou haj
Ranch Hand
Joined: Sep 12, 2001
Posts: 81
posted
0
Hi can anybody help me regarding this? Say I want to call a C function from my java code.. I'll create a header file of my java program where the the proto type name of the the function will be mentioned something like JNI_EXPORT_*** and the function of my C code will be same like JNI_EXPORT_****..... But say if I wanna use an existing C program naturally ill not want to change the name of the C function and write some extra include "****.h" . So is it possible to call a C function without changing the name of the function. Please help its urgent. Thanks a lot in advance
subject: JNI whithout changing the function named in C program