Hi
If I use the function SymbolName (which return a string)
to send the symbol name "EUR A0-FX" to a DLL, the DLL receive only :
"EUR A0", it seem the "-" make desappear the rest of the name.
if I PRINT SymbolName , I get the full name on the output log but not
if I use is to tranfer the symbole name to a dll function :
Example :
DefineDllFunc: "MyDLL.dll",LONG, "Test",string;
Var=Test(SymbolName);
Then I tried :
variables: string SymbolName1("");
SymbolName1=SymbolName ; (String to String should work)
DefineDllFunc: "MyDLL.dll",LONG, "Test",string;
Var=Test(SymbolName1);
the DLL receive "E"
Is SymbolName really a string ?
How can I use SymbolName with "-" (like" EUR A0-FX") to transfer the compleat name ? in a DLL
is the string "-" not compatible inside the string name when we use a DLL ?
Emmanuel
Using a string Variable with "-" in a DLL (EU
MY Mistake
Hi,
It was my code in the my Dll which remove the rest of the string .
Please DISREGARD THE MESSAGE ABOVE
This is my mistake,
Emmanuel
It was my code in the my Dll which remove the rest of the string .
Please DISREGARD THE MESSAGE ABOVE
This is my mistake,
Emmanuel