Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM and Access/Assign
Message
From
20/10/1998 02:59:16
 
 
To
19/10/1998 19:00:46
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00146877
Message ID:
00148396
Views:
28
Hi Eric,

Your FUNC Property_Assign code looks like a typical _Access method. Try using an _Access method instead of _Assign.


>I've noticed some other Access/Assign stuff that doesn't work right over COM either: like when you've got a property of an object whose value is calculated via the Access method, i.e.
>
>DEFINE CLASS Object
> Property=0
>
>FUNC Property_Assign
> RETURN CalculatedValue (where CalculatedValue is some calculation)
>ENDFUNC
>
>ENDDEFINE
>
>Calling from VFP returns CalculatedValue. Calling from COM returns 0.
>
>Any ideas?
- Jeff
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform