error when I run my application

error when I run my application

Postby kajot » Fri Oct 12, 2007 5: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".
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Fri Oct 12, 2007 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » Sat Oct 13, 2007 6:51 am

I got the same error
when I run buildx tutor01
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

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

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

Postby kajot » Sat Oct 13, 2007 1:03 pm

how can I recomplite all FWH PRGs ?
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Enrico Maria Giordano » Sat Oct 13, 2007 1: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby kajot » Sat Oct 13, 2007 2:22 pm

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

Postby kajot » Sat Oct 13, 2007 2:47 pm

I am using commercial xHarbour

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

Postby Antonio Linares » Sat Oct 13, 2007 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » Sat Oct 13, 2007 2:56 pm

I have xHrabour from 02.2007
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Sat Oct 13, 2007 3:00 pm

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » Sat Oct 13, 2007 3:01 pm

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

Postby kajot » Sat Oct 13, 2007 3:04 pm

if I must recomplite source FWH
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Sat Oct 13, 2007 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests