Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arguments to an Init OLEPUBLIC class method
Message
De
04/05/2001 12:33:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00503588
Message ID:
00503602
Vues:
25
Thanks, Vlad, I was suspecting it should the case because I could not find a single example suggesting otherwise.

>Hi!
>
>There are no way for this in VFP and for VFP COM objects.
>You can workaround this by putting as little code in the COM objects as possible and immediately call another method of the COM object which will do real Initialization based on the parameters.
>
>>Hi
>>
>>I can't catch Init arguments when a class is instanciated through a COM Server.
>>
>>In
>>
>> CREATEOBJECT("xpto.test",1,2,3)
>>
>>the 3 arguments aren't passed to the Init method
>>
[snip]
----------------------------------
António Tavares Lopes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform