Hello
I've got an indicator from TS.
It uses an extern dll.
defineDLLfunc: "c:\ind\func.dll", INT, "buy", FLOAT ,FLOAT ,FLOAT ,FLOAT;
...
...
...
buy (Var18, Var18[1], Var18[2], BuyLine)
...
...
It's compiled failed on Multicharts because the "buy" is reserved keyword in EasyLanguage I think.
But it can compiled ok and work well on TS.
So I want to know if it's possible I can use it well on Multicharts, too.
And how I can do?
Thanks
The function name of extern Dll is the same as keyword of EL
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: The function name of extern Dll is the same as keyword o
Hello Morgan,
If you have the source code of the dll then you can change the name of the exported function. If you don't have it then you'll need to write a wrapper for this dll that will call the function from the func.dll. Then the code in MultiCharts should call the function from the wrapper.
If you have the source code of the dll then you can change the name of the exported function. If you don't have it then you'll need to write a wrapper for this dll that will call the function from the func.dll. Then the code in MultiCharts should call the function from the wrapper.