>>Hi Fred,
>>
>>> have the ability to breakpoint on the use of a VFP command. Not just on a particular line of code with the command, but on use of the command period.
>>
>>Somehow this is possible, I just don't know how. Y2KFOX from Netlib is such a product that alters the behavior of native functions like CTOD(). My bet would be that there's a list in memory that maps every token to a C routine to execute it. Changing that list would execute different code.
>
>Somehow, I just knew that you'd know how it could be done Christof. ;)
>
>Is there any way we can get access to any of the internal process points within VFP to do such a thing? With this level of access, we could get by for quite a long time without any additional changes to the core product.
Something like:
#DEFINE USE myuse1
USE("Gotcha!")
PROCEDURE myuse1
LPARAMETERS text1
WAIT WINDOW text1
ENDPROC
maybe? :-)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison