Error with xHArbour of FW8.02

User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Error with xHArbour of FW8.02

Post by Maurizio »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Error with xHArbour of FW8.02

Post by Richard Chidiak »

Maurizio

I haven't loaded fwh 8.02 yet but have you tried erasing the cdx index first ?

HTH

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Creating CDX syntax

Post by ukoenig »

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
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.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

The problem is not with FWH. What Mr Maurizio says is he is getting this error after installing xHarbour provided with 8.02
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Maurizio,

Please download xharbour.exe from our website again, thanks

It seems that the previous build got a bug that was fixed later on.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Post by Maurizio »

Antonio

Now is OK , thank

MAurizio
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Antonio,

I just downloaded the latest xHarbour and I am now getting this error.

Error: Unresolved external '_HB_PCREPOS_LIBRARY' referenced from C:\XHARBOUR\LIB\RTL.LIB|regex

Regards,
James
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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:

Code: Select all

#include "fivewin.ch"
function main()
   msgInfo("Hello World")
return nil
And it gives me the error also. I have no idea what is going on.

James
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

Mr James

You shoud include pcrepos.lib to the link script. This lib is available in lib folder of xharbour.
Regards

G. N. Rao.
Hyderabad, India
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

NageswaraRao,

>You shoud include pcrepos.lib to the link script.

OK, that solved it.

I was compiling without it before so I am guessing that there is a new call to that lib in the new FWH 8.02 that wasn't in 8.01.

Thanks,
James
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

The library pcrepos.lib is required since 2005, if I've look correctly in xHarbour changelogs. :-)

EMG
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

How do we know how latest is the xHabour ( bcc ) build released with FWH 8.02 ? I mean till what change log in xharbour.org ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
Post Reply