Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How is DCOM instanced?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00308648
Message ID:
00308662
Vues:
20
>My assumption is DCOM, like COM, may be built with VFP as VCX and then applying BUILD DLL. Is DCOM instanced the same as COM:
>ol_MyCOM=CREATEOBJECT("MyDLL.MyDLLClass")

No, you must BUILD EXE to build a DCOM server. You can BUILD DLL and then move your component into an MTS application and then access it via DCOM.

To instantiate a remote object from VFP use CREATEOBJECTEX as in:

o=CREATEOBJECTEX("visualfoxpro.application","www.west-wind.com")

The server must exist on the server and the type library (or the entire server) must be registered on the client. You can use clireg32 to do that. The client must also be included in the DCOM access and launch permissions of the server via local machine account!


You can find out more about this at:

http://www.west-wind.com/articles.htm

and look at the Internet Enabling article.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform