martona / mhook

A Windows API hooking library
Other
728 stars 326 forks source link

How to hook member function of objects? #13

Closed kkqy closed 8 years ago

kkqy commented 8 years ago

"this" pointer of member function is passed by the ECX register, so how to use mhook to hook the member function?

kkqy commented 8 years ago

Problem solved.