Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting up a COM server
Message
De
03/08/2000 11:35:19
Tyson Bonn
Myers and Stauffer Consulting
Harrisburg, Pennsylvanie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Setting up a COM server
Divers
Thread ID:
00400394
Message ID:
00400394
Vues:
45
It's been over a year since I messed around with COM and DCOM, and I have run into a jam. I created a class in code and compiled it as OLEPublic. I can now create an object instance with code similar to the following in Visual FoxPro:
lo_Business = CreateObject( "My_Server.My_Class" )
Or in Visual Basic:
Dimension lo_Business As New My_Server.My_Class
Everything is fine on the server machine. The problem is when I try to access this class remotely. The client machine cannot instantiate the object. I have the Automation Manager and Remote Automation Connection Manager running on the server machine. When I have the class defined as using the Remote Automation transport the client gets an error reporting that the server cannot be located. When the class is defined as Distributed COM, the client gets an "Access Denied" error.

Is it the client, the server, or some network setting that is messing me up?

TIA
Tyson Bonn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform