General information
Category:
COM/DCOM and OLE Automation
What is the problem? Do you save the parameters in properties in the Init() event of the class?
I don't like passing parameters at the creation of the COM. The syntax is complicated if you use NewObject() and can be impossible to do in another language like VB, AFAIK. If I need to pass some value to a COM before it start up, I will usually create a Start() method in the COM that will accept the parameters and actually initialize and start the COM.
HTH
>I have a simple COM that contains a timer, I can't seem to pass parameters to it with CREATEOBJECT().
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only