MFC 打开链接的方法

第一种:

system("start explorer http://http://www.baidu.com");

第二种:

ShellExecute(NULL, NULL, _T("http://www.baidu.com"), NULL, NULL, SW_SHOWNORMAL);

 

以上方法都会用默认浏览器弹出要访问的链接

posted @ 2016-01-17 14:21  Ficow  阅读(909)  评论(0编辑  收藏  举报