xBase now unstable, slow, error Status_Lock_Not_Granted

User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: xBase now unstable, slow, error Status_Lock_Not_Granted

Post 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" :?:
greeting,
Jimmy
Post Reply