摘要:
https://docs.openkylin.top/zh/%E7%A4%BE%E5%8C%BA%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97/openKylin+SDK%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97V20 阅读全文
该文被密码保护。 阅读全文
摘要:
原因:将windows下的cpp(编码:ANSI)复制到linux下(默认编码是utf-8),Qt Creator报错:error:could not decode "" with "utf-8“ -encoding editing not possible 解决方法:windows下将该.cpp文 阅读全文
摘要:
runJavaScript()必须在QWebEnginePage加载完成(loadFinishe())后才能生效 阅读全文
摘要:
发命令:Explorer E:\Download 阅读全文
该文被密码保护。 阅读全文
摘要:
BOOL Is64BitSystem() { typedef void (WINAPI *PGNSI)(LPSYSTEM_INFO); PGNSI pGNSI; SYSTEM_INFO si; ZeroMemory(&si, sizeof(SYSTEM_INFO)); pGNSI =(PGNSI) 阅读全文
摘要:
windows下: #include "windows.h" SYSTEM_INFO sysInfo; GetSystemInfo( &sysInfo ); printf("now system cpu num is %d\n", sysInfo.dwNumberOfProcessors); 跨平台 阅读全文
摘要:
wstring getWindowsDirectory() { wstring wstr; UINT size=GetWindowsDirectory(NULL,0); wchar_t *path=new wchar_t[size]; if(GetWindowsDirectory(path,size 阅读全文
摘要:
需要添加: #pragma comment(lib, "advapi32.lib") https://learn.microsoft.com/zh-cn/windows/win32/services/starting-a-service 阅读全文