Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>So it would appear they are passing arrays to the Retrieve() function. When try it I still get type mismatch.
>>
>>So just build a VB wrapper and shelve the problem for now...
>
>lol! and how would this humble coder do that? :)
Build a VB class with eposing properties for each parameter.
Give it an execute function copying all the properties into VB variables,
make the working call, copy all the interesting Ref vars back into properites.
Instantiate this VB COM object in vfp,
set the properties,
call the method,
read out any interesting data....
Most of the time fast enough if not called in tight loops,
even if bloody chatty across COM barriers, but you can work on and
try a faster solution when it becomes necessary.
regards
thomas
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