Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters
Message
From
30/11/2000 08:30:53
 
 
To
30/11/2000 07:54:52
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00447247
Message ID:
00447259
Views:
13
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
Map
View

Click here to load this message in the networking platform