Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM+ question
Message
De
05/12/2007 11:53:57
 
 
À
05/12/2007 10:56:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01273273
Message ID:
01273286
Vues:
15
You are using DCOM, not COM+. With COM+, you install the DLL into a COM+ application and then generate a setup program to install on the client workstation. After that, you simply invoke the COM server just as if it was installed locally.


>I am developing a distributed application. Both client and server are Win2000 machines. My server performs callbacks to the client, so for that to work I have been using same username/password on both machines. By for new application I cannot use same credentials and my callbacks dont work. I am trying to use COM+ on a server side. I have compiled my server into mt dll and registered in on the server box. Then I created a com+ application with that dll as a component. I am testing all of this with:
>o=CREATEOBJECTEX('{D407290F-D119-4D34-A260-29CC71372834}', '192.168.1.157')
>where GUID is a CLSID.
>I am getting this error:
>classfactory cannot supply requested class
>
>And another detail: The server application needs to have an interface. In previous model I used EXE and everything worked fine but even if COM+ works for me I am not sure if a DLL can have an user interface.
>
>Can someone share some ideas?
>
>Thanks
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