Page 1 of 1

Fox CDX Share with Xbase++ App : how ?

Posted: Sun Dec 20, 2020 5:31 am
by AUGE_OHR
hi,

i try to use harbour and Xbase++ App on same DBF and CDX

using Visual FoxPro v3.x Format under Xbase++
when create CDX with Xbase++ than harbour App does not start (it start but close). there is not Error.LOG
when create CDX with harbour i can start Xbaase++ App but when i want to "save" it crash when update CDX

using FoxPro 2.x Format under Xbase++
it seems to work (both does not crash) but i´m not if it is SixDrive / Comix or FoxPro 2.x need :idea:

Question : what Format is DBF under harbour :?:

FoxPro 2.x
FoxPro 2.x compatible with SixDrive / Comix
Visual FoxPro v3.x

Re: Fox CDX Share with Xbase++ App : how ?

Posted: Sun Dec 20, 2020 10:03 pm
by danielmaximiliano

Re: Fox CDX Share with Xbase++ App : how ?

Posted: Tue Dec 22, 2020 2:28 am
by AUGE_OHR
hi,

i confused about SET DBFLOCKSCHEME TO
DBFCDX from CL52 is SIX3 CDX driver which uses FP (DB_DBFLOCK_VFP) locking scheme.
This is default in Harbour DBFCDX driver so you do not have to change anything.

Code: Select all

    DB_DBFLOCK_CLIP 1 Clipper 5.2 locking scheme 
    DB_DBFLOCK_CL53 2 Clipper 5.3 locking scheme 
    DB_DBFLOCK_VFP  3 Visual FoxPro locking scheme
hm ...
i understand that CL52 is SIX3 CDX but not why it use DB_DBFLOCK_VFP :idea:

as i understand

Code: Select all

DB_DBFLOCK_CLIP => Six3
DB_DBFLOCK_CL53 => Comix
where both are FoxPro v2.x

Code: Select all

 
DB_DBFLOCK_VFP  => Visual FoxPro v3.x
this is Visual FoxPro v3.x

can someone please make it clear for me what i misunderstood , thx

Re: Fox CDX Share with Xbase++ App : how ?

Posted: Tue Dec 22, 2020 2:07 pm
by danielmaximiliano

Re: Fox CDX Share with Xbase++ App : how ?

Posted: Wed Dec 23, 2020 1:07 am
by AUGE_OHR
hi,

that for link ... it does confuse me more ...

Code: Select all

Clipper DBFNTX locking:
DB_DBFLOCK_CLIPPER

Code: Select all

CL52 DBFCDX, SIX3 SIXCDX, SIX3 SIXNSX, [V]FP CDX
DB_DBFLOCK_VFP

Code: Select all

CL53 DBFCDX, COMIX (hyper locking)
DB_DBFLOCK_COMIX.