Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Supported interfaces in live object
Message
 
À
13/07/2000 21:38:52
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00391907
Message ID:
00392222
Vues:
10
>Except ADSI objects are not really dynamic objects- they have documented interfaces- (activeds.tlb). It's just that by the time the object is instanciated, I can't tell which interfaces have been implemented. When calling oComputer.Shutdown(), you don't get a "unknown method" error, you get "interface not implemented". It's as if the tlb is lying and the client doesn't know until an attempt is made to call one of the functions. Perhaps if VFP had access to IUnknown::QueryInterface, but somehow I think that that would lie too.

Well yes, the base ADSI structures are there along with a couple of IISAdmin extensions, but every object can be extended with monikers and additional properties. This is what I meant by the dynamic stuff. you should be able to get at Class, Schema and Name properties

>
>>I think what you need is to build an ADSI explorer/crawler, which is not terribly difficult to do...
>
>I have already built a nice little ADSI browser that uses an object's associated Schema object to fill a tree, but the Schema object doesn't account for methods, and even if it did, it uses a static object definition, so I don't think that it would work anyway.

Cool. Can I get it? <bg>


+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform