Error with xHArbour of FW8.02
Error with xHArbour of FW8.02
With the xHArbour link with FW 8.02 I have this error
Error DBFCDX/1012 Corruption detected: TEST1.cdx
#include "Fivewin.ch"
Function MAin()
Local aDbf := {}
REQUEST DBFCDX
if ! file("TEST1.DBF")
aDbf := {}
AADD (aDbf, {"TEST", "C", 1 , 0 })
AADD (aDbf, {"LOGI", "L", 1 , 0 })
dbcreate("TEST1" , aDbf,"DBFCDX")
endif
if ! file("TEST1.CDX")
use ("TEST1") via "DBFCDX"
index on field->TEST tag I_TEST to ("TEST1.CDX") ;
FOR field->LOGI == .T.
USE
use ("TEST1") via "DBFCDX"
browse()
USE
endif
Return nil
Error DBFCDX/1012 Corruption detected: TEST1.cdx
#include "Fivewin.ch"
Function MAin()
Local aDbf := {}
REQUEST DBFCDX
if ! file("TEST1.DBF")
aDbf := {}
AADD (aDbf, {"TEST", "C", 1 , 0 })
AADD (aDbf, {"LOGI", "L", 1 , 0 })
dbcreate("TEST1" , aDbf,"DBFCDX")
endif
if ! file("TEST1.CDX")
use ("TEST1") via "DBFCDX"
index on field->TEST tag I_TEST to ("TEST1.CDX") ;
FOR field->LOGI == .T.
USE
use ("TEST1") via "DBFCDX"
browse()
USE
endif
Return nil
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: Error with xHArbour of FW8.02
Maurizio
I haven't loaded fwh 8.02 yet but have you tried erasing the cdx index first ?
HTH
Richard
I haven't loaded fwh 8.02 yet but have you tried erasing the cdx index first ?
HTH
Richard
Creating CDX syntax
I put a sample of my index-creation for
CDX in the forum today.
It shows the syntax and informations
of the structure, when it is done.
Regards
Uwe
CDX in the forum today.
It shows the syntax and informations
of the structure, when it is done.
Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Error with xHArbour of FW8.02
No errors using latest xHarbour from CVS.
EMG
EMG
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
OK, more strange info.
I reinstalled xHarbour from FWH 8.01 and I am still getting the same error. So I wrote this test program:
And it gives me the error also. I have no idea what is going on.
James
I reinstalled xHarbour from FWH 8.01 and I am still getting the same error. So I wrote this test program:
Code: Select all
#include "fivewin.ch"
function main()
msgInfo("Hello World")
return nil
James
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Enrico,
>The pcrepos.lib is required since 2005
I find that it was not in buildx.bat in 7.10 and it was in buildx.bat in 8.01. I don't have 7.11 or 7.12 so I can't tell exactly when it was first used in FWH.
I expect I still had xHarbour from 7.10 installed when I upgraded FWH from 8.01 to 8.02. However, I didn't get the error when using FWH 8.01 and xHarbour from 7.10.
James
>The pcrepos.lib is required since 2005
I find that it was not in buildx.bat in 7.10 and it was in buildx.bat in 8.01. I don't have 7.11 or 7.12 so I can't tell exactly when it was first used in FWH.
I expect I still had xHarbour from 7.10 installed when I upgraded FWH from 8.01 to 8.02. However, I didn't get the error when using FWH 8.01 and xHarbour from 7.10.
James