>>>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
>>>
>>>Dave
>>
>>Check out
www.west-wind.com. rick has written an article that describes the ins and outs of doing this...
>>
>>As for your second question- you cannot have ny UI elements in a VFP in-process server (a dll), but you can in VFP out of proc servers (an exe).
>
>
>Is creating an out of process server (EXE) done the same way, but you create an EXE instead of a DLL.
To create an out-of-process server, just compile your project that has public classes in it into an exe. The exe will contain the logic for the automation object, instead of a dll.
>Does your listed web site show how to do it both ways.
I don't think the website shows how to create either kind, for this, look at the VFP 6 help under out-of-process servers. The site shows how to successfully call them from VFP.
Erik Moore
Clientelligence