Log in

View Full Version : Debugging a XP service pack problem


ndoerre
October 22nd, 2005, 02:43
Well, it's always hard to explain a problem in a few simple and understandable words:
I would like to find out a freeze with XP SP2 of one of my executables. However, this problem does not occur with XP SP1.
The freeze of the EXE is caused immediately by a right button mouse click on a tool bar.
It seems that OllyDbg is able to handle and explore this problem. But I'm new with it and need some advice how to trap mouse events and the resulting code.

Ricardo Narvaja
October 22nd, 2005, 03:58
yes but if are a system problem, OLLYDBG are limited in this case.

But you can look the tutorials of messgespy, with this you can catch and stop in all windows messages (include mouse click and movements)


Ricardo

ndoerre
October 22nd, 2005, 06:08
The problem is that I have in fact to patch the EXE binary code just to hinder the (non necessary) popup menu to appear. Thus, I only have to replace the call. As far as I could find out, the programatically given address of the popup menu invoked by the right button mouse klick leads to different results in XP SP1 and XP SP2.
Thanks for your kind advice, nevertheless.

Norbert