I have created a dll in c ++
I would like to pass as a parameter of the function a char [15] (then a char array)
I lack the knowledge of TradeStation, but I hope it is a breeze to overcome this problem..
in the dll:
int __stdcall myfunction(int var,char cd[15])
{ ... }
in the 2000i:
DefineDLLFunc: "C:\mydll.dll", int, "myfunction", int,char;
...
print(myfunction(1214,"text") ); <---" type mismatch"
I would like to pass as a parameter of the function a char [15] (then a char array)
I lack the knowledge of TradeStation, but I hope it is a breeze to overcome this problem..
in the dll:
int __stdcall myfunction(int var,char cd[15])
{ ... }
in the 2000i:
DefineDLLFunc: "C:\mydll.dll", int, "myfunction", int,char;
...
print(myfunction(1214,"text") ); <---" type mismatch"