Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: using a dll in java


Message #1 by "birgit" <birver_13@h...> on Wed, 19 Feb 2003 14:09:58
hi

you will have to use JNI(Java Native Interface) to invoke a 
function in the DLL.

regards
nikhil

On Wed, 19 Feb 2003 birgit wrote :
>Hello,
>
>
>I've loaded a dll in java with the following code: System.load
>("logic.dll");
>
>My question is how I can call a function from this dll in the 
>same java-
>file. I have to call the funtion "encrypt(in,out,key,status)". Is 
>there
>someone who can help me and send me the code for doing this?
>
>Thanks in advance,
>
>




regards
Nik

"If everything seems to be coming your way, You are probably in 
the wrong lane !".

  Return to Index