FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBase now unstable, slow, error Status_Lock_Not_Granted
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: xBase now unstable, slow, error Status_Lock_Not_Granted
Posted: Fri Oct 04, 2019 11:10 PM
not sure if harbour have Problem with it so i like to ask

Code (fw): Select all Collapse
USE \\Server\ShareFolder\Test.DBF
COPY FOR Name="ABC" TO C:\TEMP\WORK.DBF
// Workaround : use SLEEP(1) here
USE C:\TEMP\WORK.DBF -> Error file not found


Part of this Error is SMB2 Problem
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-7/ff686200(v=ws.10)?redirectedfrom=MSDN

but under Xbase++ we also have to disable "internal Cache"

Code (fw): Select all Collapse
   * ------------ COMPONENT_DATA  ------------ *
   // Cache time
   DbeInfo( COMPONENT_DATA, DBFDBE_LIFETIME , 0 )
   ...
   DbeInfo( COMPONENT_DATA, FOXDBE_LIFETIME , 0 )


Question : does harbour RDD have a "internal Cache" :-)
greeting,

Jimmy

Continue the discussion