fxturn:
Hi,
I want know how passing string array to DLL.
string symm[3]={"R1","R2","R3"};
Mql section:
# import name.dll
string Paste(string &rr[]);
Paste(symm);
DLL section:
MT4_EXPFUNC char* __stdcall Paste(char* sym){
}
how I can read here? Anytime I tried it failed.
but when pass only string it works correct.
How I can pass string srray to dll?
Regards,
Find and open experts/samples folder where your MT4 is installed.
And search in forum https://www.mql4.com/search#!keyword=Array of string in C++module=mql4_module_forum
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I want know how passing string array to DLL.
string symm[3]={"R1","R2","R3"};
Mql section:
# import name.dll
string Paste(string &rr[]);
Paste(symm);
DLL section:
MT4_EXPFUNC char* __stdcall Paste(char* sym){
}
how I can read here? Anytime I tried it failed.
but when pass only string it works correct.
How I can pass string srray to dll?
Regards,