Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting up a COM server
Message
De
03/08/2000 14:36:37
 
 
À
03/08/2000 11:35:19
Tyson Bonn
Myers and Stauffer Consulting
Harrisburg, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00400394
Message ID:
00400589
Vues:
15
>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

If you're running it remotely via DCOM, it must be compiled as an EXE, unless you are running it under MTS.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform