Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot hook WM_CREATE or WM_SHOWWINDOW for App Crash Dialog

146 views
Skip to first unread message

Mike Ruf

unread,
Mar 11, 1999, 3:00:00 AM3/11/99
to
Hello all,

I'm trying to keep track of windows as they are being created.
I'm using SetWindowsHookEx to hook WM_CREATE and
WM_SHOWWINDOW messages.

This works fine for all types of windows except for the app
crash dialog. I have a test app that generates this dialog
by trying to derefence 0.

I've tried Microsoft's spy++ utility, and it doesn't
get the messages either.

Any ideas?

--Mike Ruf
Eucalyptus Software


Mike Philben

unread,
Mar 14, 1999, 3:00:00 AM3/14/99
to

If I'm not mistaken, this guy just bubbles up from Kernel without
creating and activating windows,

Mike Philben

On Thu, 11 Mar 1999 08:51:56 -0500, "Mike Ruf" <r...@eucalyptus.net>
wrote:

Nothing is too small to be blown out of proportion.

Mike Ruf

unread,
Mar 14, 1999, 3:00:00 AM3/14/99
to
True. However, a window is created to inform the user that
the app had an access violation. I've been told that windows
hooks just don't work on this type of system dialog.

--Mike Ruf


Mike Philben wrote in message <36eb1209....@news.ncal.verio.com>...

0 new messages