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
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.