Extra info in scrollbar can be an handle.

Marco Bizzarri m.bizzarri at icube.it
Thu Nov 8 07:13:30 CST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6 Nov 2001, Alexandre Julliard wrote:

> Marco Bizzarri <m.bizzarri at icube.it> writes:
> 
> > The included patch solves the problem by making an explicit GlobalLock,
> > and returning that value. I'm not sure this is the correct solution, so
> > comments are welcome.
> 
> If you want to GlobalLock it, it should be allocated by
> GlobalAlloc. Plus the block layout will have to be compatible with
> what the app expects. Could you check what the app does with the
> memory block?  Also what kind of brain-damaged app is this?
> 
> 

Thank you for yur answer: I checked this in the app (it was that point
that gave me the idea).
I'm including the section of the relay log (wine --debugmsg +relay) where
the application allocates and sets the data in the control... actually, as
you can see, it is not a "standard" scroll bar, but an "enhanced" version
from Farpoint Spread controls.

It should therefore be in the Spread code that the GlobalAlloc is done.

The application is from IVECO, and is the Compact Catalogue.

I can provide the full log also, if necessary.

Bye
Marco
- -- 
Marco Bizzarri - Responsabile Tecnico - Icube S.r.l.
Sede:   Via Ridolfi 15 - 56124 Pisa (PI), Italia 
E-mail: m.bizzarri at icube.it		WWW: www.icube.it	
Tel: 	(+39) 050 97 02 07		Fax: (+39) 050 31 36 588	
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE76oT+XhfyAQQVoaIRAmTaAJoCk4AbD0yVE1F3n+UN4ObhhubN7wCeI/3Z
7MgeazkBALoJdFCDHHdCNG8=
=Zwdo
-----END PGP SIGNATURE-----
-------------- next part --------------
 080c2668:Call user32.CreateWindowExA(00000000,100ccd20 "SPR32D30ScrlBar",00000000,50000700,00000000,00000000,00000000,00000000,0
001005a,00000000,10046000,00000000) ret=100a0fe4
080c2668:Call kernel32.TlsGetValue(00000007) ret=0044fb5f
080c2668:Ret  kernel32.TlsGetValue() retval=4039e000 ret=0044fb5f
080c2668:Call kernel32.TlsGetValue(00000007) ret=0044fb5f
080c2668:Ret  kernel32.TlsGetValue() retval=4039e000 ret=0044fb5f
080c2668:Call user32.CallNextHookEx(4b4800bc,00000003,0002005c,405b09c8) ret=0043bc4d
080c2668:Call kernel32.GetCurrentThreadId() ret=7efe2a1d
080c2668:Ret  kernel32.GetCurrentThreadId() retval=080c2668 ret=7efe2a1d
080c2668:Call ntdll.RtlEnterCriticalSection(7efe5110) ret=7efe2a2a
080c2668:Ret  ntdll.RtlEnterCriticalSection() retval=00000000 ret=7efe2a2a
080c2668:Call ntdll.RtlLeaveCriticalSection(7efe5110) ret=7efe2aa4
080c2668:Ret  ntdll.RtlLeaveCriticalSection() retval=00000000 ret=7efe2aa4
080c2668:Call user32.GetPropA(0001005a,0000c054) ret=7efe101c
080c2668:Ret  user32.GetPropA() retval=00000000 ret=7efe101c
080c2668:Call user32.GetParent(0001005a) ret=7efe2b77
080c2668:Ret  user32.GetParent() retval=00030059 ret=7efe2b77
080c2668:Call user32.GetPropA(00030059,0000c054) ret=7efe101c
080c2668:Ret  user32.GetPropA() retval=00000000 ret=7efe101c
080c2668:Call user32.CallNextHookEx(4b4800a4,00000003,0002005c,405b09c8) ret=7efe2bb4
080c2668:Ret  user32.CallNextHookEx() retval=00000000 ret=7efe2bb4
080c2668:Ret  user32.CallNextHookEx() retval=00000000 ret=0043bc4d
080c2668:Call x11drv.CreateWindow(0002005c,405b0b48,00000000) ret=406e0b92
080c2668:Call window proc 0x10094d32 (hwnd=0002005c,msg=WM_NCCREATE,wp=00000000,lp=405b0b48)
080c2668:Call user32.DefWindowProcA(0002005c,00000081,00000000,405b0b48) ret=10094d82
080c2668:Ret  user32.DefWindowProcA() retval=00000001 ret=10094d82
080c2668:Ret  window proc 0x10094d32 (hwnd=0002005c,msg=WM_NCCREATE,wp=00000000,lp=405b0b48) retval=00000001
080c2668:Call window proc 0x10094d32 (hwnd=0002005c,msg=WM_NCCALCSIZE,wp=00000000,lp=405b08e4)
080c2668:Call user32.DefWindowProcA(0002005c,00000083,00000000,405b08e4) ret=10094d82
080c2668:Ret  user32.DefWindowProcA() retval=00000300 ret=10094d82
080c2668:Ret  window proc 0x10094d32 (hwnd=0002005c,msg=WM_NCCALCSIZE,wp=00000000,lp=405b08e4) retval=00000300
080c2668:Call window proc 0x10094d32 (hwnd=0002005c,msg=WM_CREATE,wp=00000000,lp=405b0b48)
080c2668:Call kernel32.GlobalAlloc(00000042,00000068) ret=100950ed
080c2668:Ret  kernel32.GlobalAlloc() retval=403b4a3a ret=100950ed
080c2668:Call user32.SetWindowLongA(0002005c,00000000,403b4a3a) ret=1009583c
080c2668:Ret  user32.SetWindowLongA() retval=00000000 ret=1009583c
080c2668:Call kernel32.GlobalLock(403b4a3a) ret=10095108
080c2668:Ret  kernel32.GlobalLock() retval=403b4af0 ret=10095108
080c2668:Call kernel32.GetVersion() ret=10086701


More information about the wine-devel mailing list