xBase now unstable, slow, error Status_Lock_Not_Granted

Re: xBase now unstable, slow, error Status_Lock_Not_Granted

Postby Jimmy » Fri Oct 04, 2019 11:10 pm

not sure if harbour have Problem with it so i like to ask

Code: Select all  Expand view
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 view
  * ------------ 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
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 91 guests