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