views:

16

answers:

0

Hello.

There is a VB6 application with VSFlexGrid control in it. On My WinXP machine OCX is here: c:\WINDOWS\system32\Vsflex7L.ocx

I assume application calls AddItem method of this OCX to add new items to the grid. And I want to intercept this call and obtain data passed to AddItem method. The question is - what is the best way to do this.

Actually I've found something similar to this in Detours examples only (example called Commem). But the problem is that I can't understand how to adopt this example for my case. Maybe there is other way to achieve what I need (extracting data from VSFlexGrid) control in the third-party application?

It seems this can be also done with EasyHook. Does anybody have experience with this?