If the error disappears, add your program as an allowed app in Controlled Folder Access instead of disabling it permanently.
Now go ahead—fix that error and enjoy your legacy software on Windows 11. msvcr71.dll was not found windows 11