Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multithreaded dll problem
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00827489
Message ID:
00827498
Views:
16
Adam,

The COM interface is defined at compile time. Any property added at runtime will not be visible to the client application.

>I have a dll which has a method to dynamically create properties.
>
>basically the user passes a name and value and I execute these statements..
>
>lParameter tcPropertyName,tcPropertyValue
>
>this.AddProperty(tcPropertyName)
>this.&tcPropertyName = tcPropertyValue
>
>It does work, the dll can read these properties, but if the user tries to see them.... ex: messagebox(object.property1) they cannot??
>
>Can someone explain why this is?
>
>
>Thanks
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform