Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass any COM object in VFP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00451752
Message ID:
00451921
Views:
38
>>*snip*
>>>Larry, could you clarify? I successfully use Assign method in COM and DCOM.
>>
>>When I tested this, the assign methods I had did not fire if I assigned the properties directly from an outside source (e.g. from VB). However, if something on the inside of my COM server assigned a value, the Assign method would fire.
>>
>
>I think that VB is the problem here. There appears to be some Typelib checking before an attempt at a call is made. It definitely works with a VFP client, and according to George, works from a PowerBuilder client.

The only problem I ever had with _Assign firing in a COM object was if the property was hidden. I had exposed a method to update the property, but, unfortunately, _Assign wouldn't fire then (even from within VFP). So much for keeping the interface clean and simple.< bg >
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform