Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single threaded COM and createobjectex
Message
 
À
14/11/2003 09:38:05
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00849858
Message ID:
00850058
Vues:
17
>I created a single threaded COM DLL on my server machine. Now I try to call it from a client application by createobjectex. This fails with the message that the class is not registered. But when I check the regedit, it is registered and a local createobject from the Fox prompt also works.
>
>What is going wrong???

Could you provide more details on what you are trying to do? Where is your client application located? On the same server PC, or another machine?

From what I see you are trying to instantiate COM DLL with CREATEOBJECTEX() function that is supposed to work with DCOM on a remote PC.

CREATEOBJECTEX() function.
Creates an instance of a registered COM object (such as a Visual FoxPro Automation server) on a remote computer.


To run COM DLL on the remote server you need to use (depending on operating system) - Component Services for Win 2000/Win XP or Microsoft Transaction Server for older ones.)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform