Bug in Harbour version of toolbar

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 10:05 am

I tracked down the error. It seems that is the call

Code: Select all  Expand view
TrackMouseEvent( ::hWnd, TME_LEAVE )


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

Any thought?

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 10:37 am

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

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

Postby Antonio Linares » Wed Nov 07, 2007 10:44 am

Enrico,

Already sent
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 Enrico Maria Giordano » Wed Nov 07, 2007 10:49 am

Your EXE works fine here too.

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

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

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

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

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 11:39 am

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

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

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

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

Postby Enrico Maria Giordano » Wed Nov 07, 2007 1:24 pm

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

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 48 guests