Log in

View Full Version : using sice under 2k


markedone
November 1st, 2001, 14:48
ok this qualifies me as uber newb.

I have been using sice under windows 95/98 for over a year now,
to some success. I have recently upgraded to windows 2k advanced server, and promptly installed sice 4.05 for 2k.

I am having trouble however using some techniques such as:
bmsg <hwnd> wm_gettext
and the like. When i try to break like this, sice accepts it as valid,
but the program will not break on the message. If i try the same
program under win98 it will break.

Can somebody enlighten me as to what i might be running into,
or point me in the direction i might look to figure out what i am
doing wrong.

Thanx all
mark

EtErNaL_L0ser
November 1st, 2001, 16:20
Did you edit your ntice.dat file which is in C:\winnt\system32\drivers

????

markedone
November 1st, 2001, 16:25
Thank you for reading.

I tried, but maybe i missed something, below is what i have:

INIT="ALTKEY ALT i;lines 60;wd 8;X;"

EXP=\SystemRoot\System32\ntoskrnl.exe
EXP=\SystemRoot\System32\ntdll.dll
EXP=\SystemRoot\System32\kernel32.dll
EXP=\SystemRoot\System32\user32.dll

; WINICE.DAT
; (SystemRoot\System32\Drivers\WINICE.DAT)
; for use with SoftICE for Windows NT (versions 3.0 and greater)
;
; ***** Examples of export symbols that can be included *****
; Change the path to the appropriate drive and directory
EXP=\SystemRoot\System32\hal.dll
EXP=\SystemRoot\System32\csrsrv.dll
EXP=\SystemRoot\System32\basesrv.dll
EXP=\SystemRoot\System32\winsrv.dll

Aimless
November 2nd, 2001, 00:17
Often...

0124 Window Class xxxx (this is the register window)
....0987 Edit Control xxxx (this control accepts username)
....098C Edit Control xxxx (this control accepts password)
....05CF Button xxxx (this is the OK button)
....3456 Button xxxx (this is the CANCEL button)

...is the case.

MANY a times, if you put:

BMSG 0987 WM_GETTEXT, or BMSG 05CF WM_COMMAND, you will NOT break, even thought the breakpoint is able to be set.

Under these circumstance, ALWAYS set a Message Breakpoint on the parent WINDOW and not the controls within the window.

You can:

BMSG 0124 WM_GETTEXT or BMSG 0124 WM_COMMAND will work.

...Have Phun

markedone
November 2nd, 2001, 11:01
thanks for all of your help guys, it seems to be working...