Page 1 of 2

error when I run my application

Posted: Fri Oct 12, 2007 5:56 pm
by kajot
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".

Posted: Fri Oct 12, 2007 7:12 pm
by Antonio Linares
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

Posted: Sat Oct 13, 2007 6:51 am
by kajot
I got the same error
when I run buildx tutor01

Posted: Sat Oct 13, 2007 7:02 am
by James Bott
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

Posted: Sat Oct 13, 2007 11:45 am
by Antonio Linares
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

Posted: Sat Oct 13, 2007 1:03 pm
by kajot
how can I recomplite all FWH PRGs ?

Posted: Sat Oct 13, 2007 1:31 pm
by Enrico Maria Giordano
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

Posted: Sat Oct 13, 2007 2:22 pm
by kajot
I used
xHarbour Compiler build 0.99.71 (SimpLex)

Posted: Sat Oct 13, 2007 2:47 pm
by kajot
I am using commercial xHarbour

xHarbour Compiler build 0.99.71 (SimpLex)

Posted: Sat Oct 13, 2007 2:54 pm
by Antonio Linares
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.

Posted: Sat Oct 13, 2007 2:56 pm
by kajot
I have xHrabour from 02.2007

Posted: Sat Oct 13, 2007 3:00 pm
by Antonio Linares
FWH 7.05 is from May 2007. You need an updated xHarbour builder.

Posted: Sat Oct 13, 2007 3:01 pm
by kajot
I used xHarbour ver 02.2007 and FWH 05.2007

Posted: Sat Oct 13, 2007 3:04 pm
by kajot
if I must recomplite source FWH

Posted: Sat Oct 13, 2007 3:32 pm
by Antonio Linares
Yes.

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

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