Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Challenge one . Generic function in C C++ JAVA

Status
Not open for further replies.

Dody

Programmer
Jul 7, 2002
2
IL
Hi Guys
I would like to write function that can be call from C++,C and from Java programmas, like generice function.


Thanks
 
You'd have to write it in C. In C++, declare it as an extern "C" function. In Java you will need a native code interface to the C++ function which then calls the C function.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top