>Yes, I need run the server inside the VFP debugger. The server is a out-of-process server (Exe). How debug this? i.e. run the client, put some set step on and watch...
>
Start the server under the VFP development engine with the debugger running, and use GETOBJECT() or the equivalent to access the running server instance.
>The second part of you repli "but you can't directly expose that UI in the context of the client application, because the server is not running as a part of that application." i dont understand. The server is a ole Public Class inherited from Container, because i like put several non visual clases (wrappers for ADO). Then, how run a form IN THE SERVER for see number of user, etc...?
Simply code your class based on the form class, make things visible and let it run. Realize that you will have to respond to UI events on the server, and that control will not pass back to the caller if the server method is forced to wait for UI actions before returning from a method call.