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: Wed Nov 07, 2007 09:53 AM
Antonio Linares wrote:Enrico,

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


Tried. No changes. :-)

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in Harbour version of toolbar
Posted: Wed Nov 07, 2007 10:05 AM
I tracked down the error. It seems that is the call

TrackMouseEvent( ::hWnd, TME_LEAVE )


in MouseMove() method of TBtnBmp class that recursively calls MouseMove() again and again.

Any thought?

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

Enrico,

But TrackMouseEvent( ::hWnd, TME_LEAVE ) is called with TME_LEAVE parameter, so it just notifies when the mouse leaves the control, not when the mouse is moved.

Anyhow, an error like the one that you describe looks as a recursive call that forces the operating system to quit the task

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 10:37 AM

Can you compile my sample and send me the resulting EXE?

EMG

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

Enrico,

Already sent

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 10:49 AM

Your EXE works fine here too.

EMG

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

But TrackMouseEvent( ::hWnd, TME_LEAVE ) is called with TME_LEAVE parameter, so it just notifies when the mouse leaves the control, not when the mouse is moved.

Anyhow, an error like the one that you describe looks as a recursive call that forces the operating system to quit the task


It seems that TrackMouseEvent( ::hWnd, TME_LEAVE ) calls HandleEvent() that, in turn, calls MouseMove() again but I can't understand how...

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

Can you send me a ZIP file containing:

  • HARBOUR.EXE
  • inlcude folder
  • lib folder

from your Harbour installation?

EMG

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

Enrico,

Have you used the libraries that I just sent you ? If we use the same libraries and the same Harbour, then we should get the same EXE

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 11:20 AM
Antonio Linares wrote:Enrico,

Have you used the libraries that I just sent you ? If we use the same libraries and the same Harbour, then we should get the same EXE


Yes, as I wrote some messages ago, I tried with your libraries and found no differences.

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

Using your Harbour libraries the problem goes away. The size of your libraries are different from those I have. I'm going to investigate why...

EMG

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

It is vm.lib. I have to find what I'm doing wrong building Harbour...

EMG

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

I tried all the differences from your compile batch and mine. The only one that I've not tried yet is Bison. I don't have bison.simple here. Can you send it to me? Are you sure it is required?

EMG

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

Enrico,

Already sent

I don't know if it is still required, but I use it

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 01:24 PM

Tried with Bison. No differences. I'm running out of ideas... :-(

EMG