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:25:27
 
 
To
04/05/2001 12:23:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00503588
Message ID:
00503593
Views:
40
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform