• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI whithout changing the function named in C program

 
mou haj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!