Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP Problem When Exiting from Windows 2000 1

Status
Not open for further replies.

JoeMajestic

Programmer
Oct 25, 2000
6
US
We recently moved a production application written in VFP 6.0 from Win98 client to a Windows 2000 Professional workstation. The app runs normally except when we exit the program. The app appears to close but remains in the task list. The only way we can fully stop the app is by opening the task list and clicking on the 'End Task' option.

A few more details:

1. The app uses a single top-level form that is called from a 'main.prg' startup program using READ EVENTS

2. The top level form kills the app by issueing a CLEAR EVENTS in the Destroy event of the form

Keep in mind that this app works normally on Win95/98. If you have any clue as to why this is happening please reply.

joe


 
joe, this is the same thing as catching the line of code where C0000005 crach appears. Catch the last line of code ran in the application. Try to put QUIT somewhere there. Some resources might not be cleaned up, for example, cross-references objects are not released. There are many other reasons.

Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top