On Windows GetModuleFileName(NULL, ...) returns the original executable that was used to start the application even if the exe file was renamed while the applicatio
GetModuleFileName(NULL, ...)