Page 2 of 2

Re: xBase now unstable, slow, error Status_Lock_Not_Granted

Posted: Fri Oct 04, 2019 11:10 pm
by Jimmy
not sure if harbour have Problem with it so i like to ask

Code: Select all | Expand

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: Select all | Expand

  * ------------ COMPONENT_DATA  ------------ *
   // Cache time
   DbeInfo( COMPONENT_DATA, DBFDBE_LIFETIME , 0 )
   ...
   DbeInfo( COMPONENT_DATA, FOXDBE_LIFETIME , 0 )


Question : does harbour RDD have a "internal Cache" :?: