admin 管理员组

文章数量: 887016

#include <windows.h>
#include <tchar.h>
#include <assert.h>
#include <shellapi.h>
 
const TCHAR szOperation[] = _T("open");
const TCHAR szURL[] = _T("https://www.qq/");
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR lpCmd, int
	nShow)
{
	HINSTANCE hRslt = ShellExecute(NULL, szOperation,
		szURL, NULL, NULL, SW_SHOWNORMAL);
 
	assert(hRslt > (HINSTANCE)HINSTANCE_ERROR);
 
	return 0;
}

 

本文标签: 浏览器 网址