Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling COM Objects From C++
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00212318
Message ID:
00213157
Vues:
28
>Can you create a VFP COM Object and call it from C++?
>
>I know the answer is YES.
>
>Now, can the COM Object open up a dialog box, i.e.
>
>DO FORM DemoDialog
>
>I have not been able to do this, I could set a messagebox(), but not a dialog where I can have the user enter information. Is this possible.
>
>Thanks in advance
>

InProc servers cannot have any UI, but OutOfProc servers can have UI.

If you do use an InProc server and DO FORM it'll just hang because the
form actually runs, but is not visible. Sounds dumb, but this was done
so that forms could be used as business objects and could be rendered
as HTML for example...

As to calling VFP COM objects - as Erik pointed out check out:

http://www.west-wind.com/articles.asp

There's an article that discusses different ways you can call your
servers.
+++ 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
Répondre
Fil
Voir

Click here to load this message in the networking platform