Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access and Assign
Message
From
26/12/1998 13:50:18
 
 
To
23/12/1998 15:36:37
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00169870
Message ID:
00170495
Views:
40
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform