string greater than 255
Hello everyone,
How can I do this...
string sName[] = {"abc", "def", "ghi"};
Print (sName);
and have the result = "abcdefghi"
I'm using an #import .DLL in which I need a string larger than 255 char. I would like to break it up into an array so that the characters are continguous in memory with no array index greater than 255 char... is there a way to pass the entire array to the .DLL so that the entire memory block (the entire array) is used?
I have an example of this method in C and C++, but I just can't seem to get it working in MQL4.
Can anyone offer any help? CodersGuru?
-charliev

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
Hello,
In standard 'C', is an 'unsigned char' the same as 'string' in MQL4?
Thanks!
-c