VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

SelfSub, SelfHook, SelfCallback by Paul Caton

LaVolpe  (66 Submissions)   Miscellaneous   Advanced   Wed 3rd February 2021

Hooks END safe now, added Paul's CDECL class to project so we don't lose that one either. Continuing on where Paul Caton left off. Paul has moved on from VB and his thunks are too good to let die. The attached contains a complete revamping of his subclassing thunks and significant enhancements to other thunks. The subclassing thunks, I believe are now 100% IDE-safe. I have even placed END statements inside of the subclass procedure and IDE did not die. The usercontrol (UC) crashes occurring when subclassing parent by multiple UCs is now history too. See the top remarks in cSelfSubHookCallBk_Template for overview. The assembly code is provided in .ASM files and can be opened with notepad. 18Jul07: Minor tweak in subclass.asm to attempt crash on compiled app when END executed. 21Jul07: Believe hook thunks now 100% END safe, added CDECL class allowing one to call C++ APIs or ASM thunks. Workaround for making Hook thunks more END-safe is commented in remarks at top of Template class.

Rate SelfSub, SelfHook, SelfCallback by Paul Caton (30(30 Vote))

Download SelfSub, SelfHook, SelfCallback by Paul Caton

SelfSub, SelfHook, SelfCallback by Paul Caton Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters