Log in

View Full Version : rtcMsgBox breakpoint doesn't work


id6262
January 12th, 2004, 10:25
Hi,
I trying to crack VB5 application, but stuck with breakpoints.
So i made simple VB5 application for investigation with one button which calls dialog. Steps I made:
1. run simple program
2. call (ctrl+d) SoftIce
3. set breakpoint (bpx rtcMsgBox)
4. close (ctrl+d) SoftIce
5. press button which calls dialog
According to bunch of cracking tutorials I have read on step 5 SoftIce must popup - but it doesn't!!!!

I use SoftIce 4.05
Also I have line "EXP=C:\WINNT\system32\msvbvm50.dll" in Winice.dat file.
I attached Winace.dat file.

Any clues, what I am doing wrong?

disavowed
January 12th, 2004, 10:43
rtcMsgBox is used for the vb function MessageBox, not for a general dialog box

id6262
January 12th, 2004, 10:56
My VB5 button code:
"Private Sub Command1_Click()
MsgBox "Hello World!"
End Sub"

Then I open this program with W32Dasm, i see in import section:
"Addr: xxxxxxxx hint(0253) Name: rtcMsgBox"

If I delete code above and compile my program, W32Dasm doesn't show anything like 'rtcMsgBox' anymore.
So I comming to conclusion that "MsgBox 'Hello World!'" is related to rtcMsgBox.

Anyway, this only my thoughts...
If "bpx rtcMsgBox" wrong break point, which breakpoint is valid for catching this "MsgBox"?

disavowed
January 12th, 2004, 19:01
nevermind, i misunderstood. i thought you were trying to break on rtcmsgbox when opening a normal dialog box.

as for why the breakpoint isn't working, there are dozens of possibilities. search the board for advice