C++/(Windows)기본 브라우저 열기 Edit Diff Refresh Backlink Random Search History Help Setting Hide Show CString GetDefaultBrowser() { TCHAR szPath[_MAX_PATH] = {0,}; HFILE h = _lcreat("dummy.htm",0) ; _lclose(h) ; FindExecutable(_T("dummy.htm"), NULL, szPath); DeleteFile(_T("dummy.htm")); return CString(szPath); } ... ::ShellExecute (NULL, _T("open"), GetDefaultBrowser(), _T("http://www.google.com"), NULL, SW_SHOWNORMAL); Browser Win32 Windows 이 글에는 0 개의 댓글이 있습니다. Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus