In the following statement, VC2010 debugging result, returns an empty handle, unable to function into the internal debugging. But in VC6 works
The hWnd=: : CreateDialogIndirect (hInst, lpDialogTemplate pParentWnd - & gt; GetSafeHwnd (), AfxDlgProc);
Code under VC6 compile operation is no problem. Please advise what reason can cause this failure? Loading dialog boxes are also standard controls inside the
CodePudding user response:
GetLastError see error message