Board index » delphi » How to unlock files when program crashes

How to unlock files when program crashes

While using Paradox 7 or programing in Delphi 5 Pro, the program may
crash and the table is then left locked when I start up Delphi or
Paradox again.  Is there a simpler way to unlock a table than by
rebooting my Windows NT box?

--
Jon W. Robinson
Principal Scientist
Raytheon ITSS
Code 935
Building 28, Room W192
Goddard Space Flight Center
Greenbelt, MD 20771
301 286-0681 (Phone)
301 286-1776 (FAX)

  robinson.vcf
< 1K Download
 

Re:How to unlock files when program crashes


Try deleting the *.LCK files in the directory that contains the tables. If
that does not work you will need to reboot.

--
Bill Todd (TeamB)
Please do not send questions via email.

Re:How to unlock files when program crashes


Make sure to close all apps that use the BDE. If Paradox is open when Delphi
crashes close Paradox and Delete all .lck files.

Other Threads