there is no way that i can access c++ dll's cBuffer content without allocating memory in VB?.
how do you allocate this many mem space to string?. Dim s as string*50000 (got overflow error).
It is actually like this: void AccessUnknownBuf(char** cbuffer, int* sizeofcbuffer);
c++ dll has exported funtion call such as: void AccessUnknownBuf(char** cbuffer, int sizeofbuf); VB does not know about the size of cbuffer...
Separate names with a comma.