FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error with xHArbour of FW8.02
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Error with xHArbour of FW8.02
Posted: Tue Feb 12, 2008 04: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
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Error with xHArbour of FW8.02
Posted: Tue Feb 12, 2008 04: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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Creating CDX syntax
Posted: Tue Feb 12, 2008 05: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.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Error with xHArbour of FW8.02
Posted: Tue Feb 12, 2008 05: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
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error with xHArbour of FW8.02
Posted: Tue Feb 12, 2008 06:22 PM

No errors using latest xHarbour from CVS.

EMG

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Error with xHArbour of FW8.02
Posted: Tue Feb 12, 2008 07: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
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 09:12 AM

Antonio

Now is OK , thank

MAurizio

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 02: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 02:17 PM

I get no errors using latest xHarbour from CVS.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 02: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:

#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
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 02: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 02: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 03:01 PM

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

EMG

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 03: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Error with xHArbour of FW8.02
Posted: Thu Feb 14, 2008 03: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10