Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a window is a VFP editor window
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01451683
Message ID:
01451744
Views:
62
>This is in an FLL. Actually, it occurred to me last night that the reason that this may have been failing was that I was calling _EdGetEnv with an invalid WHandle. I assumed VFP would always pass me a valid one, but it can't in every scenario depending on what is selected. I tried out the idea this morning and (at least in the few scenarios I could cause it to fail in the past) it seems to have fixed it. Crossing my fingers...

Yes, an invalid WHandle will definitely cause an exception in _EdGetEnv.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform