Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access and Assign
Message
 
 
À
23/12/1998 15:36:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00169870
Message ID:
00170495
Vues:
41
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform