Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass parameters between VFP and COM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00595402
Message ID:
00595440
Vues:
23
No, you can't pass parameters to the constructor (Init) in COM.

>
>There are a few ways.
>Both you have stated are fine, but you can also do
>x = CreateObject("AnyThing.COM_A", blah, blah, blah)
>and then have a LPARAMETERS statement in the INIT event.
>
>But if there are lots of parameters, I would either pass an array, and do as you have in the first example.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform