Page 2 of 4
Posted:
Wed Nov 07, 2007 9:53 am
by Enrico Maria Giordano
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
Posted:
Wed Nov 07, 2007 10:05 am
by Enrico Maria Giordano
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
Posted:
Wed Nov 07, 2007 10:25 am
by Antonio Linares
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
Posted:
Wed Nov 07, 2007 10:37 am
by Enrico Maria Giordano
Can you compile my sample and send me the resulting EXE?
EMG
Posted:
Wed Nov 07, 2007 10:44 am
by Antonio Linares
Enrico,
Already sent
Posted:
Wed Nov 07, 2007 10:49 am
by Enrico Maria Giordano
Your EXE works fine here too.
EMG
Posted:
Wed Nov 07, 2007 10:51 am
by Enrico Maria Giordano
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
Posted:
Wed Nov 07, 2007 11:01 am
by Enrico Maria Giordano
Can you send me a ZIP file containing:
- HARBOUR.EXE
- inlcude folder
- lib folder
from your Harbour installation?
EMG
Posted:
Wed Nov 07, 2007 11:15 am
by Antonio Linares
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
Posted:
Wed Nov 07, 2007 11:20 am
by Enrico Maria Giordano
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
Posted:
Wed Nov 07, 2007 11:32 am
by Enrico Maria Giordano
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
Posted:
Wed Nov 07, 2007 11:39 am
by Enrico Maria Giordano
It is vm.lib. I have to find what I'm doing wrong building Harbour...
EMG
Posted:
Wed Nov 07, 2007 11:47 am
by Enrico Maria Giordano
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
Posted:
Wed Nov 07, 2007 12:07 pm
by Antonio Linares
Enrico,
Already sent
I don't know if it is still required, but I use it
Posted:
Wed Nov 07, 2007 1:24 pm
by Enrico Maria Giordano
Tried with Bison. No differences. I'm running out of ideas...
EMG