Bug in Harbour version of toolbar

User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Bug in Harbour version of toolbar

Post by Enrico Maria Giordano »

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:

Code: Select all

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

Post by Antonio Linares »

Enrico,

Here it is working fine.

What errors do you get ? Thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Post by Antonio Linares »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Post by Antonio Linares »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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_fsSeek[Large]()

EMG
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Post by Antonio Linares »

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_fsSeek[Large]()
regards, saludos

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

Post by Antonio Linares »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Post by Antonio Linares »

Enrico,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
Post Reply