Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Authentification error for remote COM objects
Message
De
09/01/2001 09:49:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00460855
Message ID:
00461114
Vues:
13
>Hi!
>
>Thanks for answer. See comments below...
>
>>Is this a DLL or an EXE? If a DLL, you shouldn't use CREATEOBJECTEX, but you should Export the MTS package from the server and do a client install on the local PC. If this is an EXE, you shouldn't be running it under MTS. In that case, recompile it as a DLL.
>>
>
>It is DLL. As I said, I tried to run it from another computer in the local area network, and it workes. Our network based completely on the TCP/IP protocol. I used exactly the same way of object instantiation. Why it does not work through Internet? What the difference?
>
>I will try your suggestion about registering object from MTS package. However, as I remember from you lecture about MTS, such registering is required when you want to instantiate object using object name (for example, "comtest.comtest"). I used GUID of object as reference, that supposed to work without registering of MTS package. Is this a bug or working in the local area network by such way is just a weird thing?
>


I suggest you use the component name rather than the GUID. One of the rules of COM programming is that when you change the interface of the component, you need to change the GUID. This would require you to change the calling program too.
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