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
the last parameter (which is cnt) is also 64 bits. It is size_t
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/memcpy-wmemcpy
Thanks.
of course it does...prototypes are from 4 (32 bit address a la unsigned int), and you compile/run in 5 (it has 64).
Retarded, I wrote via longs earlier myself.
I missed the point with the 64bit address. But I'm still crashing with the corrected address. Is it sure it should work? Can I see a full example of the corrected fxsaber code?
So far I am still of my own opinion - the address from WinAPI is incompatible with MQL.
I found a mistake, why the corrected version did not work for me. I made a typo, missed & in one place.
My opinion has changed, thank you all.
By the way, MS considers the memcpy function unsafe and obsolete and suggests memcpy_s instead. Besides, the first parameter is not const. So the result is:
Interesting examples. A question for connoisseurs. Is it possible to get the address of a vector, matrix, object of any class?
Interesting examples. Question for connoisseurs. Is it possible to get the address of a vector, matrix, object of any class?
no