Albert,
>I've used COMARRAY to acheive this functionality. My concern with this technique is that accessing each array element through DCOM would have a heavy performance penalty. Aren't each array element access marshalled?
Do you
have to use BSTR? Can you just declare the argument void * or char * in the VC method? If you use a API style DLL instead of COM you can talk about memory buffers like this.