>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.aspThere's an article that discusses different ways you can call your
servers.