user32.dll!UserCallWinProcCheckWow()

Jin Yang 20 Reputation points
2024-12-16T10:36:24+00:00

My MFC embed WPF, and sometimes I want to show a WPF dialog, it will crash. I find below difference, and want to know when execute the two functions.

  • there is not parameter in the crashed call stack: user32.dll!UserCallWinProcCheckWow()
  • there are parameters in the working call stack: **user32.dll!UserCallWinProcCheckWow(struct _ACTIVATION_CONTEXT ,__int64 ()(struct tagWND *,unsigned int,unsigned __int64,int64),struct HWND ,enum _WM_VALUE,unsigned __int64,__int64,void ,int)      

work well call stack:User's image

crashed call stack:

User's image

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,156 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,808 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.