[急问]请问怎么打开网页
[急问]请教如何打开网页
我要实现根据一个地址打开网页的功能,请高手指教如何实现。
最好有示例代码,或者告诉我在哪里能找到参考代码,谢谢了。
阿姆罗夏亚
16 years, 2 months ago
Answers
int rc;
DWORD dwCreationFlags = 0;
PROCESS_INFORMATION pi;
LPCWSTR pszProName = L "\windows\iexplore.exe ";
LPCWSTR pszWeb;
rc = CreateProcess(pszProName, pszWeb, NULL, NULL, FALSE, dwCreationFlags, NULL, NULL, NULL, &pi);
if(rc){
CloseHandle(pi.hThread);
CloseHandle(pi.hProcess);
}
ohmygad
answered 16 years, 2 months ago