VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



SelfSub, SelfHook, SelfCallback by Paul Caton

by LaVolpe (66 Submissions)
Category: Miscellaneous
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (30 Votes)

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

Download SelfSub, SelfHook, SelfCallback by Paul Caton

Download SelfSub, SelfHook, SelfCallback by Paul Caton (74 KB)

SelfSub, SelfHook, SelfCallback by Paul Caton Comments

No comments have been posted about SelfSub, SelfHook, SelfCallback by Paul Caton. Why not be the first to post a comment about SelfSub, SelfHook, SelfCallback by Paul Caton.

Post your comment

Subject:
Message:
0/1000 characters