dcsimg
<strong>Calling existing C code from Java using JNI</strong>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dhaval_Patel
Posted On:   Friday, July 12, 2002 09:09 AM

I have an existing C application. I want to desigen the java front end of that application. One way is to use JNI. But the problem is I dont want to change my C code. Is there any way I can do it with JNI without changing an existing C code ?

Re: <strong>Calling existing C code from Java using JNI</strong>

Posted By:   Otto_Fowler  
Posted On:   Monday, July 22, 2002 03:22 AM

If the program in question uses dll for services, you and create as second dll, which would be JNI call, that would "wrap" the first, leaving the program unchanged.
About | Sitemap | Contact