选择文件 程序闪退Run-Time Check Failure #3 - The variable 'szPath' is being used without being initialized.
void CRegocxDlg::OnButton1()
{
// TODO: Add your control notification handler code here
CString str;
LPSTR szPath;
BROWSEINFO bi;
ZeroMemory(&bi, sizeof(BROWSEINFO));//作用为给所有参数都设为0,即NULL
bi.hwndOw...
原创
2019-10-08 14:45:59 ·
502 阅读 ·
0 评论