hm. I have understand the principe but i obtain the same result.
The best one is with:
struct MqlStr { int len; char* string; };
in the c++ code, but the result is "0".
Some idea?
strings will be passed as pointers to ordinary good old fashioned null-terminated C strings.
void foo(char *s)
the above mentioned struct with the length is only used in arrays of strings. There it will pass a pointer to an array of these structs. Don't use it unless you really want to pass arrays to the dll.
why it's don't work tjis mornning at 1 o'clook? :]
thanks to all
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 haved read some topics about this problem but i don't find a solution.
in my c++ code i have:
and :
in mt4:
What i have to put on
[1];[2];[3];[4];[5]
because i obtain ass result of some combimation of "*" or "&" "0" or 2 different hex data/addr "0x123456" ass result (or a critical error in mt4)
I'm sorry for my eng. And thanks you for any idea.