Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to COM DLL
Message
 
To
30/06/1999 15:12:58
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00236010
Message ID:
00237635
Views:
11
>>You cannot send a parameter to server's INIT method but you can send it to any custom method.
>>Mark
>
>That's what I figured, but I wanted to be sure. Thanks.

If you use the Fox class it should still work with the Init parameter, but
it won't support the parameter when activated through COM. COM has no
notion of an overloaded constructor.

(remember COM is implementation inheritance only and it implements it's
base interface IUnknown where there's no such thing as an Init that
fires. VFP handles that for you in its own class factory, but COM
can't accept the parameter to start with so there's no way to pass
it forward from a CoCreateInstance call.)
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform