Error with xHArbour of FW8.02

Error with xHArbour of FW8.02

Postby Maurizio » Tue Feb 12, 2008 4:12 pm

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
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Re: Error with xHArbour of FW8.02

Postby Richard Chidiak » Tue Feb 12, 2008 4:34 pm

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

Creating CDX syntax

Postby ukoenig » Tue Feb 12, 2008 5:14 pm

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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby nageswaragunupudi » Tue Feb 12, 2008 5:48 pm

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
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error with xHArbour of FW8.02

Postby Enrico Maria Giordano » Tue Feb 12, 2008 6:22 pm

No errors using latest xHarbour from CVS.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Tue Feb 12, 2008 7:18 pm

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
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Thu Feb 14, 2008 9:12 am

Antonio

Now is OK , thank

MAurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby James Bott » Thu Feb 14, 2008 2:15 pm

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: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Enrico Maria Giordano » Thu Feb 14, 2008 2:17 pm

I get no errors using latest xHarbour from CVS.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Thu Feb 14, 2008 2:29 pm

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  Expand view  RUN
#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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby nageswaragunupudi » Thu Feb 14, 2008 2:35 pm

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
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby James Bott » Thu Feb 14, 2008 2:45 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Enrico Maria Giordano » Thu Feb 14, 2008 3:01 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby nageswaragunupudi » Thu Feb 14, 2008 3:43 pm

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
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby James Bott » Thu Feb 14, 2008 3:56 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests