Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with CREATEOBJECTEX
Message
De
07/07/2000 09:50:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00316317
Message ID:
00389442
Vues:
17
>I think remote server DCOM support was added to VB 6 in SP3 with an additional parameter in CreateObject(). It was added to VBA, and VBScript 5 as well.
>

Right, but AFAIK, it still requires that the object be registered on the client, whereas with CREATEOBJECTEX, you can use the CLSID and instanciate an unregistered class (as long as it is configured to run on the specified machine).

>Incidentally, CoCreateInstanceEx is pretty easy to implement at least in C code. I remember when I had to do this in Web Connection for remote COM object support and was dreading the whole deal, but it was surprisingly simple...

The simple can become complex without the right set of tools. AFAIR, the problem in VB was getting an object reference from an API call. It took some pretty extensive trickery.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform