Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Well, did you get
No, it's not going to work.
To get what I want, I need to know the full structure of the array and have a pointer to the beginning of the structure.
You can try it, of course... But that's a hack). Although in general... Yes, I'll have to try it )
what is "full structure"?
its size? or the type of data?
what is "full structure"?
Could you elaborate on where the problem is?
Well for example -- when you pass an array of strings to the dll, you don't pass a pointer to a null-string, but a structure with a pointer.
So for arrays, I don't see a way to get to the structure itself. There is only a pointer to the array data itself.
Ok, one more idea came up though )
Well for example -- when you pass an array of strings to the dll, you don't pass a pointer to a null-string, but a structure with a pointer.
So for arrays, I don't see a way to get to the structure itself. There is only a pointer to the array data itself.
Wrap the array with a structure, then you can get to it.
How do you get a pointer to a structure? I wanted to do almost the same thing, but with one more extra tidbit.
memcpy() :)
OK, I'll have to try it tonight.
Because the links don't work, the files don't work ( . I've got to get something at least.