Information générale
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Network:
Windows 2003 Server
>Hmm, I was hoping I didnt have to install it on the client server, I wanted to create a Data Access Layer using the com object, except I wanted the com object to be on a remote server and not local. I'm not sure if this is possible or not?
David,
You don't have to install the COM+ object locally if you specify the object's GUID instead of the class identifier in the CREATEOBJECTEX() function. If you pass in the class name when instantiating a COM object, Windows tries to look up the GUID in the local registry, regardless of where the object is actually located, by passing in the GUID, Windows can bypass this step.
The only down side is you must make sure the GUID never changes in the COM object or you will have to change it every place you reference it.
Kurt
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement