Author | Message | Time |
---|---|---|
iCe | How would I go about finding out what the values are that are being sent to an ocx? This one OCX calls a function and passes a value to it and I would like to know what it has sent to the function. What tools or api could I use to retrieve the values? | January 15, 2007, 3:29 AM |
warz | Could use a debugger, and set a breakpoint on the call to the function - there you can view everything being passed to the function. | January 15, 2007, 3:38 AM |
iCe | I have Win Dbg now. How do you set a breakpoint to the function? | January 15, 2007, 4:16 AM |
UserLoser | bp addr or read helpfile | January 15, 2007, 6:41 AM |
warz | Depends. You will either have to locate the function within the ocx file, and set a breakpoint on the actual address itself if the function is not exported, otherwise you can just set a breakpoint on the function's exported name. You can also locate where the application calls the function, and breakpoint there. | January 16, 2007, 8:28 AM |