>Ned,
>
>If that last system was in FP/VFP, just how does one go about writing "reentrant code" in VFP/FP???
>
>Regards,
>
>Jim N
The basic idea is simple. It is very similar to the way that you prevent two instances of the same application from running on the same machine. To prevent your application from running twice you provide some way for the application to know that another instance is already running. To create reentrant code in VFP you must provide some way for your code to know that it is being called recursively and act accordingly. The simplest approach is to block action if the routine is being called recursively.
I have been informed that the company I work for, SASI, considers the details of the approaches that we use for reentrant code to be confidential, so I can't go into any more detail.
Hope this helps,
Ned
Ned
Reality is.