16,550
社区成员
发帖
与我相关
我的任务
分享
void CWindowsDisignDlg::OnButton21()
{
// TODO: Add your control notification handler code here
char* newText = "china";
HANDLE update = BeginUpdateResource("WindowsDisign.exe",false);
int error = GetLastError();
UpdateResource(update,
TEXT ("TEXT"),MAKEINTRESOURCE(IDR_TEXT),
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
newText,
8);
EndUpdateResource(update,false);
}