Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Authentification error for remote COM objects
Message
 
 
À
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:
00461138
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.

Its ok, but I want to make a generic approach and do not depend on the installation of MTS package for each client.

Thanks for reply.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform