Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddProperty in DLL's
Message
De
18/10/1999 12:18:08
 
 
À
18/10/1999 12:15:40
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00277666
Message ID:
00277724
Vues:
31
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform