Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing arguments to an Init OLEPUBLIC class method
Message
From
04/05/2001 12:33:31
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00503588
Message ID:
00503602
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform