RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-09 Thread Phil Lodwick
I am beginning to suspect a problem with wine_server_call. I am confused because I would have thought this was something that is pretty solid. In HOOK_CallHooks we call SERVER_START_REQ( start_hook_chain ). When I put debugging in the server I see that reply->active_hooks is getting properly set

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Phil Lodwick
Alexandre, > The idea is that active_hooks is a shortcut to avoid calling the > server if we know that a hook is not set. If we don't have a valid > active_hooks then we need to call the server, which will then tell us > whether or not we really have a hook to call. I don't know if this matters,

Re: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Alexandre Julliard
"Phil Lodwick" <[EMAIL PROTECTED]> writes: > Active_hooks is pretty much set by the server. Bit 0x8000 is set to > indicate that the bitmask is valid. One of my suspicions that I hope to > confirm with debug is that in my case of failure active_hooks is 0. > > Would it not make more sense to

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Phil Lodwick
o figure out the real problem of why active_hooks is 0. Thanks, Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Lodwick Sent: Friday, November 03, 2006 4:25 PM To: wine-devel@winehq.org Subject: dlls/user/hook.c HOOK_CallHooks() help Hi, I hav

dlls/user/hook.c HOOK_CallHooks() help

2006-11-03 Thread Phil Lodwick
Hi, I have an application that is hitting the assert in HOOK_CallHooks. -- trace:hook:HOOK_CallHooks calling hook in thread 0113 WH_CALLWNDPROC code 0 wp 0 lp 7fbef984 err:hook:HOOK_CallHooks Unknown hook id 4 wine-pthread: hook.c:381: HOOK_CallHooks: Assertion `0' failed. -- Basically I