|
-
February 16th, 1999, 08:56 AM
#1
calling 'c' function in java
IAM NOT ABLE TO CALL 'C' FUNCTION IN JAVA.IN 'CORE JAVA1.1:FUNDAMENTALS
(sunsoft press java series)VOL1',THERE IS TOPIC COVERING CALLING C IN JAVA,
I HAVE GONE THROUGH THE TOPIC BUT IAM NOT ABLE TO FOLLOW STEPS GIVEN IN
CORE JAVA.I WILL BE VERY THANKFUL YOU,IF YOU SEND ME AN EXAMPLE WITH DETAILED
EXPLANATION OF THE CODE YOU WILL BE SENDING AND PLEASE MENTION OTHER BOOKS.
PRESENTLY IAM WORKING IN RAFFLES SOFTWARE,IAM A BEGINNER(JAVA).IT WILL BE BETTER
IF YOU SEND ME THE SOLUTION IMMEDIATELY.
-
February 23rd, 1999, 12:36 AM
#2
Re:Calling 'C' functions in Java
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|