Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How debug a Ole Automation Server with VFP?
Message
From
03/02/2000 15:20:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00326868
Message ID:
00326904
Views:
23
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform