Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identificar o executável
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01150333
Message ID:
01150870
Views:
24
>as funções PROGRAM() e SYS(16) na verdade não retornam o aplicativo que está sendo executado. Resolvi com a função ASTACKINFO() que
gera uma matriz com várias informações do aplicativo e na segunda coluna tem o executável.


Oh?

Da Ajuda: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp9/html/fbd341cc-ba0b-4850-a727-e4bcef931fdd.asp?frame=true
CLEAR
gnX=1
DO WHILE LEN(SYS(16,gnX)) != 0
   ? SYS(16,gnX)
   STORE gnX+1 TO gnX
EndDo


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform