void CGetCurrentDirectoryDlg::OnGet()
{
char buf[256]="";
DWORD dw;
dw = GetCurrentDirectory(sizeof(buf),buf);
if(dw == 0)
{
MessageBox("获取路径失败");
return;
}
else
m_path.SetWindowText(buf);
}
void CGetCurrentDirectoryDlg::OnGet()
{
char buf[256]="";
DWORD dw;
dw = GetCurrentDirectory(sizeof(buf),buf);
if(dw == 0)
{
MessageBox("获取路径失败");
return;
}
else
m_path.SetWindowText(buf);
}