Support compile with Win64
This commit is contained in:
@@ -293,8 +293,8 @@ void CRegisterDlg::AddKey(char* szBuffer)
|
||||
{
|
||||
// <20><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD> REG_DWORD <20><><EFBFBD>͵Ĵ<CDB5><C4B4><EFBFBD>
|
||||
char ValueDate[256] = {0};
|
||||
DWORD d=(DWORD)szValueDate;
|
||||
memcpy((void*)&d,szValueDate,sizeof(DWORD));
|
||||
INT_PTR d=(INT_PTR)szValueDate;
|
||||
memcpy((void*)&d,szValueDate,sizeof(INT_PTR));
|
||||
CString strValue;
|
||||
strValue.Format("0x%x",d);
|
||||
sprintf(ValueDate," (%d)",d);
|
||||
|
||||
Reference in New Issue
Block a user