Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters
Message
De
30/11/2000 08:30:53
 
 
À
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:
00447259
Vues:
8
What is the problem? Do you save the parameters in properties in the Init() event of the class?

I don't like passing parameters at the creation of the COM. The syntax is complicated if you use NewObject() and can be impossible to do in another language like VB, AFAIK. If I need to pass some value to a COM before it start up, I will usually create a Start() method in the COM that will accept the parameters and actually initialize and start the COM.

HTH
>I have a simple COM that contains a timer, I can't seem to pass parameters to it with CREATEOBJECT().
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform