>>Can you manipulate the WHandle, and make VFP think it's getting the proper WHandler?
>
>I doubt it, Dan. The whandle is an internal VFP reference AFAIK, and is controled entirely by it. In some recent communication I've had with Christof Lange, he pointed out that passing an invalid whandle to one of the foxtools functions can GPF VFP. I don't believe that Foxtools exposes an functions that would allow you to manipulate or change an existing on (such as the Command window). The VFP API (to which may of the Foxtools functions that use the whandle) map, may expose something. I kind of doubt it, but I haven't really looked either.
This sounds like playing with fwrite(0, something) or fwrite(3, ...) or any of the system reserved handles. Back in early 80s, on any machine's memory map there was a zone labeled "here be dragons" - and I think it should be pasted on such things in VFP as well. I think we should just voluntarily delimit ourselves to, like, exploring weird parameters to undocumented sys() functions and other harmless stuff :).