Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters
Message
 
 
À
30/11/2000 07:54:52
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00447247
Message ID:
00447248
Vues:
11
>I have a simple COM that contains a timer, I can't seem to pass parameters to it with CREATEOBJECT().
>
>Any ideas?
>Thanks
>Kev

Createobject passes parameters to the Init of an object. While this technique works well inside VFP, parameters are not passed through COM. You have to create a separate method and pass the parameters to that. Basically it means at least 2 calls: one to instantiate it using Createobject() and one to the other method.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform