Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APP/EXE containing currently running program
Message
De
05/03/2012 12:10:50
 
 
À
05/03/2012 10:11:41
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01537275
Message ID:
01537297
Vues:
44
Hi Joel.

>Is there a command (SYS() or otherwise) that returns the name of the APP or EXE that contains the currently running program? I know about SYS(16,1), but it could be an APP/EXE started by another APP/EXE, so I can't assume it is the first. I can also walk through ASTACKINFO(), but I'm wondering if there is a simple function that will provide this info. Seems like there would be.

Unfortunately, there isn't. _VFP.ServerName is useful but only for the starting EXE.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform