I have found the address "Stardew Valley.exe" + 000FCCE4 but when using the GetModuleHandle function value = 0. Looking forward to helping.
Please Help Me. LPVOID Address = GetModuleHandle(L"Stardew Valley.exe") Not Working.
Originally Posted by llt2012
Please Help Me. LPVOID Address = GetModuleHandle(L"Stardew Valley.exe") Not Working.
GetModuleHandle(); it's for get the handle of a module (dll) "dynamic link library", not a process, otherwise if the paramter it's NULL will return the handle to current file, (exe)... if you are looking for use WritePorcessMemory(); use OpenProcess(); instead...