API Hooking in VB6
Date: 04.22.14 - 9:37am
I needed to do some Windows Api hooking from a VB6 Addin, so created this VB6 compatible dll for the task. Turns out I didnt need it after all, but I kept the code around anyway.
So the DLL is written in C, and allows you to set/remove and enable/disable hooks with the call back function implemented in VB6. The sample code shows a GetSaveFileNameA hook implementation. Its all tested and debugged.