M
Mark Stacey
Data is sent to me by an API which returns a pointer to a "string" which
is actually a data structure. I use CopyMemory(Alias RtlMoveMemory) to
get access to this data in my own UDT's.
My problem arises in that sometimes the data will be returned as an
array of structs. The API doesn't provide for letting me know the size
of the array, and getting the length of the string just gives me the
length of one element.
The API is not written in VB, so I think that means it's a
null-terminated array, if so how do I copy each of the elements in my
own array of equivalent structure?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
is actually a data structure. I use CopyMemory(Alias RtlMoveMemory) to
get access to this data in my own UDT's.
My problem arises in that sometimes the data will be returned as an
array of structs. The API doesn't provide for letting me know the size
of the array, and getting the length of the string just gives me the
length of one element.
The API is not written in VB, so I think that means it's a
null-terminated array, if so how do I copy each of the elements in my
own array of equivalent structure?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!