Bug in Harbour version of toolbar

Bug in Harbour version of toolbar

Postby Enrico Maria Giordano » 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:

Code: Select all  Expand view
#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
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Wed Nov 07, 2007 8:18 am

Enrico,

Here it is working fine.

What errors do you get ? Thanks,
regards, saludos

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 8: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Wed Nov 07, 2007 8:25 am

Do you want my EXE to test it there?

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 8: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 9:27 am

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 9: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_fsSeek[Large]()

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Wed Nov 07, 2007 9: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_fsSeek[Large]()
regards, saludos

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Wed Nov 07, 2007 9:51 am

Enrico,

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests