Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pemstatus()
Message
De
10/12/2004 09:23:29
 
 
À
09/12/2004 04:32:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00967953
Message ID:
00968277
Vues:
17
John Dobson has provided the answer, as show below:

When you use a COM DLL in VFP it doesn't know anything about any methods or properties until you try to use them. Placing a set step on before PemStatus() will force VFP to query the interface so it can be displayed in the debugger. After that it'll work because VFP now knows what the COM object supports.

As an alternative, you can use AMembers() to get information about the interface for a COM object. Use AMembers(laM, loObj, 3) and then search the array.
HTH

John

Thanks John

Gordon Knott
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform