Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

IMPORT a Win32 DLL in JAVA
 Post subject: IMPORT a Win32 DLL in JAVA Post rating: 0   New post Posted: Mon 22 Dec, 2008, 22:18 

User rating: 0
Joined: Mon 06 Oct, 2008, 02:34
Posts: 6
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


 
 Post subject: Re: IMPORT a Win32 DLL in JAVA Post rating: 0   New post Posted: Tue 23 Dec, 2008, 10:41 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
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


 
 Post subject: Re: IMPORT a Win32 DLL in JAVA Post rating: 0   New post Posted: Tue 23 Dec, 2008, 13:44 

User rating: 0
Joined: Mon 06 Oct, 2008, 02:34
Posts: 6
You can give me code example ??


 
 Post subject: Re: IMPORT a Win32 DLL in JAVA Post rating: 0   New post Posted: Tue 23 Dec, 2008, 15:38 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
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


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com