Information générale
Catégorie:
Contrôles ActiveX en VFP
>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.
I have to use COM because I am getting a query result set from a VFOX object. I can avoid the problems by returning the data in text format in a BSTR. My interest in alternative methods is more for future use than with my current application.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement