Hello Everyone;
I've created a program with an arbitrary resource (a resource but not an icon) included in the exe file and the API functions return a long which is the address to the data. I would like to access this data by using a variable that is an array of bytes.
So far my idea is to use either assembly language or C to create a function that would be like an expanded Redim function. It would take an undimensioned array, the size of the array, and an address. Perhaps an API function already exists?
My function might look sortof like this:
function RedimAt (buffer() as byte, SizeOf as long, Adr as long)
'Set buffer() variable to point to Adr
'Set buffer() dimensions to SizeOf
end function
Sincerely;
Michelle
I've created a program with an arbitrary resource (a resource but not an icon) included in the exe file and the API functions return a long which is the address to the data. I would like to access this data by using a variable that is an array of bytes.
So far my idea is to use either assembly language or C to create a function that would be like an expanded Redim function. It would take an undimensioned array, the size of the array, and an address. Perhaps an API function already exists?
My function might look sortof like this:
function RedimAt (buffer() as byte, SizeOf as long, Adr as long)
'Set buffer() variable to point to Adr
'Set buffer() dimensions to SizeOf
end function
Sincerely;
Michelle