Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Addobject and build as a DLL
Message
De
08/11/2000 17:48:31
 
 
À
08/11/2000 17:25:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00439424
Message ID:
00439463
Vues:
14
>Is that mean when a COM use the ADDOBJECT it hides the new created object. Why would they(microsoft) do that?

It's not that it hides it. For VFP (or any other IDispatch COM client) to see a member of a COM object, it has to be defined in its TypeLib, which is created at compile-time. Since your object does not exist at compiled time, It is not included in the Typelib. Adding a property to the top-level object and using that property to reference the created object will work just fine.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform