Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to COM DLL
Message
From
06/07/1999 08:11:34
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00236010
Message ID:
00237668
Views:
12
>>>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,

Thanks for the info.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform