Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Server - Sharing properties between two clients
Message
De
24/03/1997 15:56:54
 
 
À
24/03/1997 15:15:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00025434
Message ID:
00025446
Vues:
25
Dan,

Strictly from reading (ie have not had the opportunity to try this), I also recollect that PRIVATE datasessions can result in what you seem to be getting. Is your Server using PUBLIC or private?

By the way, I would see your intent as counter to what most people might want! I would want and expect my client sessions to be handled AS IF the server knew of it and it alone, and I would want the data (ONLY) to be where collisions (intended or otherwise) were recognizeable by the client(s). So I would want a SINGLE instance of the Server, actually serving many clients, to (effectively) treat each client as if the server were standalone, serving only that client. In fact I sure HOPE that this is the basic design premise for a VFP Server application, else I would have to keep track of what work I am doing for who, where I am with them, etc. etc and I could surely not cover for each combination that users could throw at me.

regards, and good luck
Jim N.

>I am trying to create an OLE server where two seperate applications have access to the server and have access to the same properties. In other words, if I change a property from one application I can detect the change from the other application. I have tried creating simple test custom olepublic classes, set them to Multi Use and built them into an exe. From
>two foxpro sessions I ran x = getobject("","Myole.myClass") which creates one instance of Myole in the task list. However, after verifying a properties change from its default value in one session, the property is still at its default value when checked from the other session. Is what I
>am trying to do possible? What am I missing?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform