Click here to Skip to main content
15,907,497 members
Home / Discussions / Java
   

Java

 
GeneralString Tokenizer Java 1.1 improved Pin
Hubbard9-Jan-02 22:25
Hubbard9-Jan-02 22:25 
GeneralJava User Inferace from IE Applet Pin
Malcolm McMahon8-Jan-02 22:53
Malcolm McMahon8-Jan-02 22:53 
GeneralRe: Java User Inferace from IE Applet Pin
Josh Koppang7-Feb-02 2:41
Josh Koppang7-Feb-02 2:41 
Generalcalling a C-dll function from java code Pin
Djibril4-Jan-02 23:23
professionalDjibril4-Jan-02 23:23 
GeneralRe: calling a C-dll function from java code Pin
Malcolm McMahon8-Jan-02 22:59
Malcolm McMahon8-Jan-02 22:59 
GeneralRe: calling a C-dll function from java code Pin
markkuk8-Jan-02 23:53
markkuk8-Jan-02 23:53 
GeneralRe: calling a C-dll function from java code Pin
Malcolm McMahon9-Jan-02 0:10
Malcolm McMahon9-Jan-02 0:10 
GeneralRe: calling a C-dll function from java code Pin
Djibril9-Jan-02 8:39
professionalDjibril9-Jan-02 8:39 
That's right.
I found JNI but it sounds like it is very slow.
And you can't use existing dll.

1.You write the native methods declaration in a java class
2.Then you compile the java class (javac)
3.Generate a header file from this class using javah -jni ...
4.include this header in you dll project and provide and implementation for the generated header functions.
5.Rebuild your dll

From this point, you can use the dll via the java class methods we wrote at step 1.

I tried using JNI. It works because I could change the source of the dll and I wanted to use. But it is surprisingly slow. Now I am looking forward to using sockets.

Thank you.

Where there is a WISH, there is a WILL.
GeneralViewing stderr from windowed app Pin
davidko17-Dec-01 12:35
davidko17-Dec-01 12:35 
QuestionIs there a Java compiler ? Pin
yarp17-Dec-01 9:21
yarp17-Dec-01 9:21 
AnswerRe: Is there a Java compiler ? Pin
markkuk17-Dec-01 20:32
markkuk17-Dec-01 20:32 
GeneralRe: Is there a Java compiler ? Pin
yarp18-Dec-01 3:59
yarp18-Dec-01 3:59 
QuestionHow do you include a jpeg in an applet lay out manager? Pin
15-Dec-01 11:56
suss15-Dec-01 11:56 
Generalprogram interaction Pin
Ever123414-Nov-01 9:29
Ever123414-Nov-01 9:29 
QuestionHelp Cracking a code? Pin
InterKoro11-Nov-01 10:03
InterKoro11-Nov-01 10:03 
AnswerRe: Help Cracking a code? Pin
Jon Sagara11-Nov-01 11:08
Jon Sagara11-Nov-01 11:08 
GeneralRe: Help Cracking a code? Pin
11-Nov-01 21:39
suss11-Nov-01 21:39 
GeneralRe: Help Cracking a code? Pin
Jarek G21-Nov-01 8:52
Jarek G21-Nov-01 8:52 
GeneralAnyone please help me : Java Extension Installation. Pin
Kobayakawa1-Nov-01 17:54
Kobayakawa1-Nov-01 17:54 
GeneralRe: Anyone please help me : Java Extension Installation. Pin
Jarek G21-Nov-01 8:56
Jarek G21-Nov-01 8:56 
GeneralManage file-permissions with Java Pin
30-Oct-01 2:50
suss30-Oct-01 2:50 
QuestionNeed Graphics for your Project? Pin
30-Oct-01 2:37
suss30-Oct-01 2:37 
AnswerRe: Need Graphics for your Project? Pin
Rassman13-Nov-01 3:27
Rassman13-Nov-01 3:27 
GeneralRe: Need Graphics for your Project? Pin
alex.barylski11-Feb-02 6:03
alex.barylski11-Feb-02 6:03 
GeneralGray Box Where Applet Should Be Pin
jerry0davis30-Oct-01 0:13
jerry0davis30-Oct-01 0:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.