Click to See Complete Forum and Search --> : writing a plugin in VC++ for use in java


Erek Borowski
February 4th, 1999, 09:05 PM
Hi,


I already posted this on the main codeguru message board, but maybe some of you may be able to help me too. I was wondering if anyone knew of some web sites or of some books that deal with writing a plugin (as a dll) so that I can access a device on a windows machine via a java applet. Or if you know how to do it, could you give me a brief overview? I am not having much

luck, so any help is appreciated.


Thank you,

Erek Borowski

Zafir Anjum
February 7th, 1999, 05:57 PM
You have to use the Java Native Interface (JNI). You'd have to read up about

JNI. It is part of the standard Java documentation.


Since you are tying up your app with Windows, you may want to use JDirect

(by Microsoft).


If you really are looking for a plugin for the browser, you should visit the

Netscape and Microsoft sites. You would have to write separate plugins for the

two browsers.