I come across such mysticism for the first time. The program is literally dummy. In the literal sense - a simple HelloWorld - I already reached it in the course of the experiments. I compile in Visual C ++ 2015 already stupidly without keys at all. I get mm.exe . I'm running. Runs seconds 6. Displays what is needed. But now the most interesting thing is that if I compile with a different name, I simply rename mm.exe to some rr.exe or mmm.exe :) everything is fine! Instant execution ...

Windows 7 x64. No mm in the path ( path ) is not noticed.

Update code any , for example, now this:

 #include <iostream> int main(int argc, const char * argv[]) { std::cout << "Hello!\n"; } 

What does this mystic mean?

  • one
    1. Give the code in question. 2. Try to disable antivirus. - insolor
  • @insolor Disabling the antivirus program did not help. The code resulted. I compile cl mm.cpp . I run from under Far or from explorer - it doesn't matter. - Harry

2 answers 2

Removed from comments:

@KoVadim: there is a big branch in the Windows registry, where different rules are added for different programs. For example, for some old games, you can use the memory after release. And it determines by the file name. I have already had a hard time.

@Harry: I actually found HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX , and there Might and Magic ... Thank you!

    There may be a problem with the conflicting process, which has the same name and directory execution.

    See link

    • The launched process of mm.exe in the system seems to be missing. - Harry