Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding a running copy of VFP debugger
Message
From
02/06/2007 11:08:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Finding a running copy of VFP debugger
Miscellaneous
Thread ID:
01229952
Message ID:
01229952
Views:
48
Hi,

I am implementing a com server to provide access to VFP code from .NET based on articles by Calvin Hsia and Rick Strahl

http://blogs.msdn.com/calvin_hsia/archive/2007/05/21/write-fox-code-in-visual-studio-that-interacts-with-your-vb-net-code.aspx

http://www.west-wind.com/presentations/VFPDOTNETiNTEROP/VFPDOTNETINTEROP.HTM#Debugging%20your%20COM%20server

It has come to the point that SET STEP ON opens the VFP debugger, but each time I run my test code I create a new copy of VFP. I'd like to change the code to use an already running copy if available. In Rick's article there is a reference to another article, by Maurice de Beijer who provided the original idea, but it depends on storing the hwnd value of the design time VFP on disk.

http://www.theproblemsolver.nl/aspdevelopmentanddebugging/index.htm

I wonder if there is some way to cycle through all windows and pick it up automatically, perhaps knowing the title or some other trick.

TIA,

Alex
Reply
Map
View

Click here to load this message in the networking platform