Hello. When script is running in 32bit mode _WinAPI_GetWindowFileName fails to retrieve path of a 64bit process. Does anyone know how to fix this? Thank you. [EDIT] Seems like the problem is in GetModuleFileNameEx