Calling external DLL from EasyLanguage - EasyLanguage Programming | futures io social day trading
futures io futures trading


Calling external DLL from EasyLanguage
Updated: Views / Replies:13,120 / 11
Created: by Big Mike Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Calling external DLL from EasyLanguage

  #11 (permalink)
Trading Apprentice
Trivandrum, Kerala
 
Futures Experience: Beginner
Platform: Multicharts
Favorite Futures: INR
 
Posts: 2 since Aug 2015
Thanks: 0 given, 0 received

Error while using parameter

i can possible to call below function from dll and works fine .

DefineDLLFunc: "ConsoleApplication10.dll", int, "getP";

print("sum =",getP());

But

DefineDLLFunc: "ConsoleApplication10.dll", int, "getP",int ,int;

print("sum =",getP(10,12));

ERROR

<<exception>>
Address: 0x65641407 ( 1701057543 )
Code: 0xC0000005 ( -1073741819 )
Continuable: 0x00000000 ( 0 )
Description: Instraction for adress "0x
ErrorCode: 0xC0000005 ( -1073741819 )
ExceptionType: 0x00000000 ( 0 )
Module: C:\Documents and Settings\All Users\Application Data\TS Support\MultiCharts\StudyServer\Studies\Dlls\Indicators\i_my_indicator.dll
Process: C:\Program Files\TS Support\MultiCharts\MultiCharts.exe
Thread ID: 0x000013F4 ( 5108 )
Time: 27.05.2012 - 01:36:02.768


By def file is

LIBRARY DemoLibrary
DESCRIPTION 'Test DLL for file operations
EXPORTS
WriteToFile
getVal
getadd
getP

Reply With Quote
 
  #12 (permalink)
Elite Member
Frankfurt Germany
 
Futures Experience: Intermediate
Platform: MetaTrader, MultiCharts
Favorite Futures: Forex, ES, GC, strange synthetic creatures
 
Posts: 16 since Nov 2014
Thanks: 19 given, 14 received

You can call your function only with *one* signature, function overloading (one function with different signatures) will not work when calling DLL's from "outside". So, you need to decide if your function getP() expects zero parameters (as in your first example) OR two parameters (as in your second example). If you need both calling variants you have to implement two functions with different names.

Post your function declaration ConsoleApplication10::getP()

Peter

Reply With Quote

Reply



futures io > > > > > Calling external DLL from EasyLanguage

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling an Optimization in a Strategy serac NinjaTrader Programming 17 September 2nd, 2015 03:25 PM
Gold - I'm calling the top cpi65 Commodities Futures Trading 65 February 19th, 2012 05:32 AM
External Data Feed market replay software PeterOhlson NinjaTrader 14 July 31st, 2011 05:12 PM
Calling GomiCD into GomiLadder kashter NinjaTrader Programming 2 May 9th, 2011 07:35 PM
External DLL from Ninjatrader ehlaban NinjaTrader Programming 11 June 13th, 2010 12:42 PM


All times are GMT -4. The time now is 08:41 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-10 in 0.08 seconds with 19 queries on phoenix via your IP 54.83.122.227