user3563513
user3563513

Reputation: 1

How do I call a DOTNET DLL and pass the variable using JAVA applet

I have a DLL build in DotNET.

My application is a Java based hosted on the APACHE server and accessed through the web browser on thin client.

Now I will place the DOTNET DLL file on the thin client and not on the server and I want to call this DLL using a JAVA Applet

So when I press a buton on my java based application which is accessed through browser from thin client it should call the DLL file on this machine and pass the variables

Need the expert advise.

Upvotes: 0

Views: 574

Answers (1)

Lonzak
Lonzak

Reputation: 9816

First you need to familiarize yourself with ways to call a .dll from java. Afterwards you can embed that into an applet.

Here are things to read for you:

  1. JNI
  2. JNI C+ example
  3. Is your library marked as COM visible? Or can you enable that? Then you should have a look at JACOB

There are several project you can use:

  1. Swig
  2. bridj
  3. jni4net
  4. jnbridge
  5. NativeCall
  6. Nuget

Furthermore this question already has been answered before: Here, Here, here and here.

Upvotes: 1

Related Questions