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.

How to add dll to the buildpath
 Post subject: How to add dll to the buildpath Post rating: 0   New post Posted: Thu 06 Sep, 2012, 09:05 

User rating: 0
Joined: Thu 16 Aug, 2012, 03:29
Posts: 26
Hello, experts,

I met a problem and wish you could give me a hand.

The post is for the JForex client platform.

I knew that we could add external jars to the buildpath using @Library(".jar").

But how could I add dll files to the buildpath?

I have made a few dlls uing JNI method.

It runs well in JForex-SDK. But I don't know how to make it run in JForex client platform.

Thank you so much!


 
 Post subject: Re: How to add dll to the buildpath Post rating: 0   New post Posted: Thu 06 Sep, 2012, 09:22 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See the first paragraph of https://www.dukascopy.com/wiki/#Write_in_File


 
 Post subject: Re: How to add dll to the buildpath Post rating: 0   New post Posted: Thu 06 Sep, 2012, 10:00 

User rating: 0
Joined: Thu 16 Aug, 2012, 03:29
Posts: 26
dll is not like txt or CSV files.

When I use JForex-SDK with eclipse, I need to assign the path of the 'Native library location' of the project to the folder where the dll lies.


 
The Best Answer  Post subject: Re: How to add dll to the buildpath Post rating: 0   New post Posted: Thu 06 Sep, 2012, 13:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Then try to put all dll-calling logic in a jar file and then add it as a @Library.


 

Jump to:  

  © 1998-2025 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