FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error when I run my application
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Fri Oct 12, 2007 05:56 PM

I used xHarbour
xHarbour Compiler build 0.99.71 (SimpLex)

and FWH 7.05

when I run my application I got a message in windows Xp
Instrukcja spod "0x00000000: odwołuje się do pamięci pod "0x00000000".
Pamięć nie może być "read".

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
error when I run my application
Posted: Fri Oct 12, 2007 07:12 PM

Please go to FWH\samples directory and try this:

buildx.bat tutor01

and check if it works fine for you. Please do the same for tutor02

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 06:51 AM

I got the same error
when I run buildx tutor01

best regards

kajot
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
error when I run my application
Posted: Sat Oct 13, 2007 07:02 AM

I don't think that is the version of xHabour that came with that version of FWH. You need to use the version that came with it.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
error when I run my application
Posted: Sat Oct 13, 2007 11:45 AM

If you are using a more recent xHarbour, then you need to recompile ALL your PRGs and FWH PRGs, and all third party libs PRGs that you may be using

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 01:03 PM

how can I recomplite all FWH PRGs ?

best regards

kajot
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
error when I run my application
Posted: Sat Oct 13, 2007 01:31 PM

XHARBOUR.BAT:

@ ECHO OFF

COPY c:\fwh\source\function*.prg
COPY c:\fwh\source\winapi*.prg
COPY c:\fwh\source\classes*.prg

DEL expbuild.prg
DEL db10.prg
DEL odbc32.prg
DEL dbm.prg
DEL vbxctrl.prg
DEL _index.prg
DEL dbms.prg
DEL ddeserv.prg
DEL field.prg
DEL tnewsins.prg
DEL c3.prg

SET HARBOURCMD=/a /es1 /gc0 /l /m /n /q /w
SET INCLUDE=c:\fwh\include;c:\xharbour\include
FOR %%i IN (.prg) DO c:\xharbour\bin\harbour %%i
SET HARBOURCMD=
SET INCLUDE=
IF EXIST
.prg DEL *.prg

FOR %%i IN (.c) DO c:\bcc55\bin\bcc32 +xharbour.cfg -c %%i
IF EXIST
.c DEL *.c

FOR %%i IN (.obj) DO c:\bcc55\bin\tlib Fivehx /P32 +%%i
IF EXIST
.obj DEL .obj
IF EXIST
.bak DEL *.bak

IF EXIST fivehx.lib COPY fivehx.lib c:\fwh\lib
IF EXIST fivehx.lib DEL fivehx.lib

XHARBOUR.CFG:

-5
-DHB_FM_STATISTICS_OFF
-DHB_GUI
-DHB_NO_PROFILER
-DHB_NO_TRACE
-DHB_WIN32_IO
-Ic:\fwh\include;c:\xharbour\include;c:\bcc55\include
-k-
-O1
-O2
-OS
-Ov
-v-
-W
-w
-w-inl-

Please check the paths.

EMG

Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 02:22 PM

I used
xHarbour Compiler build 0.99.71 (SimpLex)

best regards

kajot
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 02:47 PM

I am using commercial xHarbour

xHarbour Compiler build 0.99.71 (SimpLex)

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
error when I run my application
Posted: Sat Oct 13, 2007 02:54 PM

Please ask Patrick Mast for a xHarbour commercial upgrade (or beta).

Probably thats the problem: that you are using an outdated xHarbour builder build with FWH.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 02:56 PM

I have xHrabour from 02.2007

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
error when I run my application
Posted: Sat Oct 13, 2007 03:00 PM

FWH 7.05 is from May 2007. You need an updated xHarbour builder.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 03:01 PM

I used xHarbour ver 02.2007 and FWH 05.2007

best regards

kajot
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
error when I run my application
Posted: Sat Oct 13, 2007 03:04 PM

if I must recomplite source FWH

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
error when I run my application
Posted: Sat Oct 13, 2007 03:32 PM

Yes.

Patrick Mast has a xHarbour builder project to automatically rebuild FWH.

We have asked him for that file to provide it to you.

regards, saludos

Antonio Linares
www.fivetechsoft.com