Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Start directory
Message
De
18/04/2001 14:14:37
 
 
À
18/04/2001 13:48:05
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00496797
Message ID:
00496870
Vues:
8
>>>>What's the command for getting the start directory of a COM object? In other words, return the path to where it lives.
>>>
>>>
>>>Hmm, I haven't checked, but does SYS(16,1) work?
>>
>>Nope. Believe it or not, HOME() is the one that does the trick.
>
>Wow, don't think I would have guessed that! (unless you've installed your .DLL in the system folder, or at least in the same place the VFP runtime is installed)

Here's another one that's got me stumped. My com object runs fine when I create it from the command window. When I issue clear all and try to run create the object again I get the message, "Ole error code 0x800403111: ClassFactory cannot supply requested class." The only way around it is to shut down the com server in the Component Services module and re-run. If you know a way around this one, I'd sure like to know about it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform