error when I run my application

User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

error when I run my application

Post 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".
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

I got the same error
when I run buildx tutor01
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

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

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

how can I recomplite all FWH PRGs ?
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post 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
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

I used
xHarbour Compiler build 0.99.71 (SimpLex)
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

I am using commercial xHarbour

xHarbour Compiler build 0.99.71 (SimpLex)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

I have xHrabour from 02.2007
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

I used xHarbour ver 02.2007 and FWH 05.2007
User avatar
kajot
Posts: 309
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Post by kajot »

if I must recomplite source FWH
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply