I have a rather complex project. I was writing it on an old xp computer. Now I switched to a new Windows 10 computer. When I tried to boot it up, it said the old PlaySound @ 12 problem, so I connected it with winmm. However, now the console window opens for a second and disappears. All the paths in Build options: search directories and linker settings are fine. I would like to add that normal c ++ code runs in the console, but this project does not want to.