Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddProperty in DLL's
Message
From
18/10/1999 12:18:08
 
 
To
18/10/1999 12:15:40
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00277666
Message ID:
00277724
Views:
29
>>Any added property would only be available during the session that called the AddProperty
>
>Yes, I understand this. But they aren't available in CURRENT session outside the DLL
>
>For example :
>
>TestDll Method MyAddProperty
>This.AddProperty("NewProperty1")
>This.AddProperty("NewProperty2")
>
>TestDll Method TestNewProperty
>This.Newproperty1 = "Test"
>This.NewProperty2=This.NewProperty1
>
>VB Code
>Dim MyTestDLL as New TestDLL
>.....
>MyTestDll.MyAddProperty 'Ok
>MyTestDll.TestNewProperty 'Ok
>MyTestDll.NewProperty1 = "???" ' Error

I believe this is by design. The AddProperty would only be available during the method call that called it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform