Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass parameters between VFP and COM
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00595402
Message ID:
00595440
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform