>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer