void CtestfunDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
OutputDebugString(L"start#############\r\n");
ShellExecute(NULL ,L"open",L"e:/abc.txt",0,0,SW_SHOW);
OutputDebugString(L"end#############\r\n");
}
When i quickly click the button ,i think the correct output is:
start#########,end###########,start#########,end###########
But the program actual output is start#########,start#########,end###########,end###########,why?