FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in Harbour version of toolbar
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Tue Nov 06, 2007 10:00 PM
In the following sample try to move the mouse over the button and the program will terminate without errors. The problem is only with Harbour and not with xHarbour:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd

    DEFINE BUTTONBAR OF oWnd

    DEFINE BUTTON;
           OF oWnd:oBar

    ACTIVATE WINDOW oWnd

    RETURN NIL


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 08:18 AM

Enrico,

Here it is working fine.

What errors do you get ? Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 08:24 AM
Antonio Linares wrote:Enrico,

Here it is working fine.

What errors do you get ? Thanks,


No errors. The app just vanishes with a sound when i put the mouse on the button in the toolbar. Please try with latest Harbour (not xHarbour) from SVN.

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 08:25 AM

Do you want my EXE to test it there?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 08:33 AM

Enrico,

We have tested FWH 7.11 with Harbour svn 05 Nov, and it works fine. Its the one distributed with FWH 7.11.

So it has to be a change in Harbour since 05 Nov.

Do you get an error.log file ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 08:47 AM
Antonio Linares wrote:Enrico,

We have tested FWH 7.11 with Harbour svn 05 Nov, and it works fine. Its the one distributed with FWH 7.11.

So it has to be a change in Harbour since 05 Nov.


It maybe. Or I'm doing something wrong.

Antonio Linares wrote:Do you get an error.log file ?


Unfortunately not. :-)

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:19 AM

Enrico,

We have just done a fresh checkout from the Harbour svn, and your test code works fine here

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:27 AM

Can I see the batch you are using to build Harbour?

EMG

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:29 AM

Is this the latest changelog you see in your changelog file?

2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
* updated hb_fsTell() and hb_fsEof() to respect platform dependent
API calls used in hb_fsSeekLarge

EMG

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:31 AM

This is the batch I'm using to build Harbour:

@ ECHO OFF
SET PATH=e:\bcc55\bin;e:\harbour cvs\harbour\bin\b32
SET C_USR=-DHB_FM_STATISTICS_OFF
SET PRG_USR=-l
CALL make_b32 clean
CALL make_b32
CD contrib\hbzlib
CALL make_b32 clean
CALL make_b32
CD ..\win32
CALL make_b32 clean
CALL make_b32
CD ..\adordd
CALL make_b32 clean
CALL make_b32

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:31 AM

Enrico,

We name this makeb32.bat:

SET PATH=%PATH%;%DEVDRIVE%\bcc55\bin;%DEVDRIVE%\util
SET BISON_SIMPLE=%DEVDRIVE%\util\bison.simple
SET CFLAGS=-D__EXPORT__ -DHB_GUI -tWM -DHB_COMPAT_XHB -DHB_FM_STATISTICS_OFF -DHB_INCLUDE_WINEXCHANDLER -DHARBOUR_MAIN_WIN -d -a8 -OS -O2 -5 -6
make_b32.bat %1

2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
* updated hb_fsTell() and hb_fsEof() to respect platform dependent
API calls used in hb_fsSeekLarge

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:34 AM

Enrico,

I email you the most recent FWH Harbour libs, just to be sure we use the same files

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:50 AM
Antonio Linares wrote:Enrico,

We have just done a fresh checkout from the Harbour svn, and your test code works fine here


I just done a fresh checkout too: no changes. :-)

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:51 AM

Enrico,

Are you using the most recent FWH Harbour libs that I have emailed you ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 09:53 AM
Antonio Linares wrote:Enrico,

We name this makeb32.bat:

SET PATH=%PATH%;%DEVDRIVE%\bcc55\bin;%DEVDRIVE%\util
SET BISON_SIMPLE=%DEVDRIVE%\util\bison.simple
SET CFLAGS=-D__EXPORT__ -DHB_GUI -tWM -DHB_COMPAT_XHB -DHB_FM_STATISTICS_OFF -DHB_INCLUDE_WINEXCHANDLER -DHARBOUR_MAIN_WIN -d -a8 -OS -O2 -5 -6
make_b32.bat %1


As far as I know, Bison is no longer required.

Anyway, all I get running your batch is a make_b32.log containing

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland


What am I doing wrong?

EMG