#include <windows.h>
#include "stdafx.h"
int main()
{
SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)TEXT("Environment"));
return 0;
}
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
生成安裝包,好了#include <windows.h>
#include "stdafx.h"
int main()
{
SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)TEXT("Environment"));
return 0;
}
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
生成安裝包,好了