Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP DLL Question
Message
De
02/08/2001 08:33:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00538602
Message ID:
00538756
Vues:
22
>
>I was thinking in terms of VFP pier-to-pier (apartment threaded?) COM. If two clients instanciate the same server, could the server be used to pass (push) a message from one of the clients to the other? I've had some experience with
>languages that offer an HWND port.

No. It won't be apartment model threaded. You have to run the DLL under MTS or COM+ to get that.

And, it doesn't work the way you want. The DLL runs in the process space of the EXE that is hosting it.

>
>I guess I am trying to understand if a server can be "aware" of the clients
>holding it's object reference, and can the server direct mesaages (providing a push mechanism is in place) to a specific client.

I don't think you can do that. What exactly are you trying to accomplish? Maybe there is another way to make it work.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform