線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:2265
推到 Plurk!
推到 Facebook!

Lock file has grown too large 該如何處理?

 
hipo
一般會員


發表:5
回覆:4
積分:1
註冊:2003-04-08

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-05-07 17:19:23 IP:203.204.xxx.xxx 未訂閱
我剛用Delphi 想請問 Lock file has grown too large 該如何處理? 會與_QSQ1461.db 有關係嗎?
carlgan1021
一般會員


發表:1
回覆:6
積分:6
註冊:2005-09-15

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-11-01 08:34:42 IP:218.4.xxx.xxx 未訂閱
TI256B.txt   Removing "Lock file has grown too large" Error Category   :General Programming Platform    :All Product    :BDE  All    Description: Lock file has grown too large, Decimal:9495 Hex:2517 ---------------------------------------------------- This problem is specific to Paradox tables and can be caused  in any BDE (16 or 32 Bit) application that meet some or all  of the following criteria:      1)  The Executable is in the same directory as the table.   2)  The Private Directory is not correctly set or not set       at all.   3a) Delphi: Having a TTable open on a paradox table and        then performing multiple TQuery operations.   3b) C / C++: Having a table open with DbiOpenTable and       then performing multiple queries with DbiQExec and/or       DbiQExecDirect.   4)  LOCAL SHARE set to true in the BDE Configuration        Utility on the System page.    To solve the problem, make sure that your application has done ALL of the following:      1)  Under the directory where the executable is, create       three new directories: TABLES, PRIV, and NET.  Place       all the tables for the application into the TABLES        directory.     2)  Set the session's private directory to the PRIV        directory.  Take the following steps according to       the software you are using.          DELPHI:        Session.PrivateDir := ExtractFilePath(ParamStr(0)) + 'PRIV';          C / C++:       DbiSetPrivateDir(szPath);       // szPath is the fully qualified path (not relative)        // to the PRIV directory.      3)  Set the session's network directory to the NET        directory.  Take the following steps according to       the software you are using.          DELPHI:       Session.NetFileDir := ExtractFilePath(ParamStr(0)) + 'NET';          C / C++:       DbiSetProp(hSes, sesNETFILE, (UINT32)szPath);       // szPath is the fully qualified path (not relative)        // to the NET directory.          // hSes is the current session handle.  This can be        // retrieved using the DBiGetCurrSession function.      4)  If LOCAL SHARE is set to true and you are not sharing       tables between different applications at the same time,       change LOCAL SHARE to false.    The above steps will correct the Lock File Too Large error.
------
carl
系統時間:2024-05-06 22:02:58
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!