Activities

Additional discovery: It is probably already enough to just close the track (not OpenMPT) while it's playing, it can also freeze OpenMPT then. The freeze seems to happen in DWORD WINAPI CMainFrame::AudioThread(LPVOID).

Create a .cmd or .bat file, and call mptrack.exe from within this file.

During the OpenMPT session, the .bat or .cmd file will be kept open, and it will close after the mptrack.exe process stops. If this fails, and you close OpenMPT, the batchfile will also remain open. This saves you from going into the taskmanager to verify that the process is still open. Of course, you will need to still go there in case you want to close the process.