Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arguments to an Init OLEPUBLIC class method
Message
 
 
À
04/05/2001 12:23:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00503588
Message ID:
00503593
Vues:
39
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
>
>If
>
>
> CREATEOBJECT("test",1,2,3)
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform