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 is not responding

Status
Not open for further replies.

Vandolfph

Programmer
Jan 28, 2016
4
PH
i have a prg file that backups my data,
and after building it as an exe file, when i execute the prg file, vfp is not responding.
but in my project, it runs smoothly without error..

here is the error log.
Fatal error: Exception code=C0000005 @ Friday, January 29, 2016, 11:59:56 AM. Error log file: C:\output\VFP9rerr.log
Called from - databak line 6 {C:\System\prg\databak.prg databak.fxp}
Called from - frm_backup.image1.click line 3 {c:\system\forms\backup.sct c:\system\forms\backup.sct}
Called from - main line 56 {C:\System\prg\main.prg c:\system\system.exe}
 
Well, what is the code of databak.prg, especially (but not only) line 6?

Bye, Olaf.
 
In regard of "VFP is not responding": If you do a loop (any loop FOR/FOREACH...ENDFOR, DO WHILE..ENDDO to SCAN...ENDSCAN not only sepcific loops) where no DOEVENTS occur, or anything else putting your app into an idle state once in a while, you make an application unresponsive. Windows watches over processes not acting on their Windows event queue, and VFP code in such a "thight" loop does not do so. Within any normal app you get to a READ (legacy code) or READ EVENTS (the one event handling "loop") and DOEVENTS simply calls the event handling of currently queued events.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top