• Welcome to Valhalla Legends Archive.
 

Retrieve Values sent to OCX

Started by iCe, January 14, 2007, 09:29 PM

Previous topic - Next topic

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?

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.

iCe

I have Win Dbg now. How do you set a breakpoint to the function?

UserLoser


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.