Код: Выделить всё
if (GetModuleBaseNameA(Handle, NULL, processName, sizeof(processName) / sizeof(char)))
Код: Выделить всё
std::string features::GetCurrentActiveProcess(Buffer* buffer)
{
//handle to foreground window
HWND hwnd = GetForegroundWindow();
if (!hwnd)
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79809482/error-while-trying-to-get-current-active-window[/url]
Мобильная версия