// 在VC 中打开链接
CWaitCursor wait;
CString strUrl = "http://www.5iziliao.com/";
if (32 >= (int )ShellExecute(NULL, "open", strUrl, NULL,
NULL,SW_SHOWNORMAL))
{
AfxMessageBox("::ShellExecute failed to open this link!");
}
// 在VC 中打开链接
CWaitCursor wait;
CString strUrl = "http://www.5iziliao.com/";
if (32 >= (int )ShellExecute(NULL, "open", strUrl, NULL,
NULL,SW_SHOWNORMAL))
{
AfxMessageBox("::ShellExecute failed to open this link!");
}