Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for COM server ?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00798846
Message ID:
00798862
Vues:
25
Thank you very much for your help, Sergey.

>Dmitry,
>
>
? TYPE([CREATEOBJECT("mydll.mycomclass")]) = "O"     && will return .T. if it is registeredf
>
>
>>Is there a way to check if a COM server has been registered?
>>
>>I have a program (VFP 6.0) which calls a COM server created in VFP 8.0. But before I create an object ( e.g. poGpmPager = createobj("Pager.Send") ), I want to check if COM .dll is registered, to avoid run-time error.
>>
>>TIA for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform