Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing open file when application ended using task manager
Message
From
29/12/2007 22:51:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Closing open file when application ended using task manager
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Oracle
Miscellaneous
Thread ID:
01278411
Message ID:
01278411
Views:
62
I am opening a low level text file to add temporary logging in an application to try to figure out where an application is freezing. The user eventually uses the windows task manager to end the program. How can I catch the fact that the application is being externally ended so I can close the file handle so the data in the file will be retained.

Or is there another way to be able to create a text log file to capture what I need to try to track down where my application is freezing?
Next
Reply
Map
View

Click here to load this message in the networking platform