Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CUSTOM or SESSION ?
Message
 
À
08/05/2001 11:57:45
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00504740
Message ID:
00504925
Vues:
15
>>hi all,
>>
>>as you might know i'm busy on a project that usesFoxpro COM objects.
>>Until now i used the class definition DEFINE CLASS 'name' AS CUSTOM OLEPUBLIC
>>to declare in my DLL. Recently I saw an article from R. Strahl in which he uses
>>SESSION OLEPUBLIC instead.
>>
>>What is the purpose of this?
>>
>>Regards Erwin
>
>In addition to what George said, the Session object also has Private data sessions. Also, in VFP7, it has been enhanced to that it's native methods are not exposed to the public interface. Much better design this way.

In addition, the development-time advantage of using one of the visual classes like Line or Custom for COM object is that you can work with them in the Class Designer.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform