Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
DLL ok in development, error 126 in production, why ?
Hello,
i'm getting confuse.. i create a dll that connect to internet, i copy the dll only on many metarader in my local computer and found no problem...
but the problem arise when i copy my dll to another computer. it returns error 126.
may i know what's wrong ? how to solve the problem ? i'm using with visual C++ on visual studio 2008.
Hello,
i'm getting confuse.. i create a dll that connect to internet, i copy the dll only on many metarader in my local computer and found no problem...
but the problem arise when i copy my dll to another computer. it returns error 126.
may i know what's wrong ? how to solve the problem ? i'm using with visual C++ on visual studio 2008.
please help
Hi Veematics, maybe you are the gentleman who just sent me an email about this problem, but I figured I would post my reply on this forum for other to see
Quote:
Hello,
Make sure you compile your dll with MFC Statically Linked…
Go to your project properties, under Configuration Properties | General | Use of MFC
Make sure that you have “Use MFC in a Static Library “ selected.
Then rebuild your dll.
Then yes, for example I wrote my own ATR function in a dll and what happens is that my DLL ATR uses wilder's smoothing while MT4 just uses a simple average ... Same with any of the indicators written by wilders and other indicators who seem to have multiple versions ...
I would first make sure your indicators give the same results as the MT4 platform from the DLL ...
Anyone have any types or general best practices for using a dll in an indicator (how to get the range of prices to the dll, etc)? I want to have a dll calculate the values instead of using functions in MetaTrader.
Thanks!
__________________
Visit http://www.openthinkingsystems.com for EA signal distribution systems, MetaTrader and Collective2 integration and general custom development.