How can I get the application name after it has been renamed?

Viewed 1433

After changing the executable name while the application is running, both GetModuleFileName and GetModuleFileNameEx using PID return the original file name.

How can I get the new file name or even detect the change? Ideally I would prefer not to use FindFirstChangeNotification.

1 Answers
Related