Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending parameters to CEvent in COM server
Message
 
To
22/08/2001 11:47:53
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00547278
Message ID:
00547523
Views:
14
It means only that you cannot send the parameters to Init() of COM object when you create the COM object with CREATEOBJECT() function. But after instantiation you can call the methods in COM object with necessary parameters.

>Victor,
>
>So you're saying I can't use the lAutoExecuteEvent property in an event? Can I call an event sending parameters to the called event from within the COM server, or is this the same problem?
>
>TIA
>
>Rex
>
>>You can't send parameter to COM Objects. You have to instantiate the COM Object then call a method with your parameters.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform