CHAR chVersion[11];
DWORD dwVersion = 0x3A1234;
ReadProcessMemory(hProcessHandler,(LPCVOID)dwVersi on,&chVersion,4,NULL);
if ( chVersion == " 1.201301202" )
{
VersionInfoLabel->Text="< OK >";
}
else
{
VersionInfoLabel->Text="< PATCHED >";
}
Was ist falsch?
DWORD dwVersion = 0x3A1234;
ReadProcessMemory(hProcessHandler,(LPCVOID)dwVersi on,&chVersion,4,NULL);
if ( chVersion == " 1.201301202" )
{
VersionInfoLabel->Text="< OK >";
}
else
{
VersionInfoLabel->Text="< PATCHED >";
}
Was ist falsch?