Log in

View Full Version : how can I make a breakpoint while program is running in directx


lancelot
August 22nd, 2001, 09:23
something like mouse click ect.

Aimless
August 22nd, 2001, 11:07
Need answers ?

You need to be more specific. Your question is too vauge.

However...

If you are asking that ~ during ~ a directX game, you would like to capture the mouse clicks, then you need to first download the directX SDK from MSN (Documents and examples, will do. Not necessary to download the apps).

Understand how the mouse is programmed over there. Rest is easy. ICE can take care of the rest. Just one point though..

Make sure that if you want the breakpoint to occur, and ICE to be visible, you have the "FORCEPALATTE" option in the ICE settings as ON.

Have Phun

lancelot
August 22nd, 2001, 23:20
Thank you for replies.

yes it's a directx game, the game needs rigister code , and
can not use keyboard to type the code, just mouse can be
use, so I want to catch the mouse click.

sorry I'm poor in English,because English is not my mother
language.

Thanks again

matt
August 24th, 2001, 22:51
couldnt you set a breakpoint on WM_LBUTTONDOWN?
The windows message for 'left mouse button is pressed down'..