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.comICQ #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.