Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with CREATEOBJECTEX()
Message
De
09/12/1999 11:04:20
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
 
 
À
09/12/1999 10:54:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00300946
Message ID:
00301036
Vues:
33
Bob,

Much thanks, worked first time. Knew it *had* to be something simple that I couldn't find in the docs...

>>Folks,
>>
>>I am hoping for a step-by-step on implementing a COM Server on another machine. I get the impression that it is supposed to be relatively simple to do it the first time. I understand that a full-fledged solution involves MTS and many other factors, but today's challenge is just to instantiate an object on another machine and run some tests.
>>
>>Can anyone tell me where I am going wrong with these steps:
>>1. Create the class OLE Public
>>2. Compile an executable
>>3. Put the executable on the desired server, register it (MyExe /regserver)
>>4. At the command window of the client, execute CREATEOBJECTEX("myEXEname.MyClassName","ThatOtherComputer")
>>
>>I am consistently getting "Access is Denied." Cannot find this anywhere in the docs. Both server and client are NT 4.0.
>>
>>The fox docs are also a little tough, since they discuss Remote Automation, not DCOM per se.
>>
>>Any help at all, TIA...
>
>Kenneth,
>
>You have to run DCOMCNFG on the 'server/remote' machine and:
>
>1. Make sure DCOM is enabled.
>2. Make sure that the ID you are logged in as has permission to the DCOM object.
>
>For a pretty good step by step see www.west-wind.com for an article called 'Internet Enable your VFP Aps' which discusses this topic!
>
>BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform