I'd like to create a C++ program that constantly checks the executables location and moves it to a defined location if it is not there.
This works for a one time run.
However my issue is that, when I run the executable and place the GetModuleFileName on a loop, and move the executable to a different location, the GetModuleFileName does not return the new location, of which I want it to return it, I am very new to WinAPI and barely understand the basics, so please do not start bashing me or whatever...