Here is what I have:
I have a Structure, TM_Response that is 3 structures inside of it plus 3 other byte fields. One of the internal structures has a byte array of variable size. I am calling an unmanaged dll and the function returns bool but has pointers to the two structures you pass into it. I need help with this big time. So what will the marshaled structures look like? I have attached the code with the example and the dll too so that you might be able to test it and enlighten me.
Cheers
John
I have a Structure, TM_Response that is 3 structures inside of it plus 3 other byte fields. One of the internal structures has a byte array of variable size. I am calling an unmanaged dll and the function returns bool but has pointers to the two structures you pass into it. I need help with this big time. So what will the marshaled structures look like? I have attached the code with the example and the dll too so that you might be able to test it and enlighten me.
Cheers
John