i have a char * and i want to use it in a function wich should take
could i (od does anyone has an idea) create a SAFEARRAY with length 0
and change its pvData = my_char_pointer and rgsabound value to be correct ?
another trouble is that SAFEARRAY will be passed in a context where
memory is automatically managed... how could i solve this ?
(the idea is a C# program with interop, i have a callback function wich
take a void * as argument and i want to call it a C# function taking a
byte as arg, so it would fill my void * array..., any idea to do this ???)