Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array of objects to a COM object from VFP
Message
De
06/12/2005 16:46:56
Harold Rappold
Melange Computer Services
Lansing, Michigan, États-Unis
 
 
À
06/12/2005 13:08:03
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01075356
Message ID:
01075505
Vues:
21
Christian wrote:

there are still some rare bugs in VFP when calling method's on COM objects.
Most of the time you can overcome these by calling the method on an intermediate "interface object".

Harold replies:

Using GetInterface and an "interface object" to call the Sell() method worked just great. Thanks so much for the help.

Also, thanks for the information about the AS clause. I had started out just typing in literal values when setting the SalesItem properties and when passing parameters to the method. I added the AS clause stuff trying to get the method to work. I am glad I can take them out and thin down the amount of code.

Harol Rappold
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform