Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object as Parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Object as Parameter
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01028050
Message ID:
01028050
Vues:
51
Hi!

How can I set an Object to a DCOM Server EXE?

Example :

loLabel = createobject("LABEL")
loServer = createobjectex({...},"192.168...")
loServer.var = loLabel
loServer.eval("TYPE('this.var')") &&Returns O
loServer.eval("TYPE('this.var.name')") &&Returns U
?loServer.var.name &&Hangs Server

If I do this, the only thing getting to the DCOM is an "Object" without Properties, etc. If I now want to access a Property, the DCOM hangs.

This behavior is only in real Client Server Mode having a Computer running as a Server and another Running as a Client. Localy I have access to the Properties of the Object.
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.
Répondre
Fil
Voir

Click here to load this message in the networking platform