Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Crash on PopMenu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash on PopMenu

 Post Reply Post Reply
SteveRox View Drop Down

Joined: 04 February 2022
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote SteveRox Quote  Post ReplyReply Direct Link To This Post Topic: Crash on PopMenu
    Posted: 04 February 2022 at 1:48pm
I want to report a bug.  In my application if I have a skin applied and then remove it and then open a right click menu my application crashes with an unhandled exception.  I have debugged it and determined that the problem is that the function user32!NtUserTrackPopupMenuEx is hooked (and unhooked twice).  So after it unhooks it the second time it actually puts back the hook which is no longer valid and causes the code to jump to an invalid instruction.  I am using Toolkit 20.2.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.