Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

IMPORT a Win32 DLL in JAVA
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=243
Page 1 of 1

Author:  [bedaine] [ Mon 22 Dec, 2008, 22:18 ]
Post subject:  IMPORT a Win32 DLL in JAVA

I can make a IMPORT a Win32 DLL in JAVA ?

I use this DLL for EA MT4. I do not have the source code of this DLL. I think the DLL was programmed in C + +

Thank you for your help

Author:  API Support [ Tue 23 Dec, 2008, 10:41 ]
Post subject:  Re: IMPORT a Win32 DLL in JAVA

You can't directly import dll into JAVA program, but there is a technology called "Java Native Interface" or JNI that can help you to call C++ functions from java program

Author:  [bedaine] [ Tue 23 Dec, 2008, 13:44 ]
Post subject:  Re: IMPORT a Win32 DLL in JAVA

You can give me code example ??

Author:  API Support [ Tue 23 Dec, 2008, 15:38 ]
Post subject:  Re: IMPORT a Win32 DLL in JAVA

I don't have one, but first link in google for "Java Native Interface tutorial" gives - https://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html which has example in it

  Page 1 of 1