Hello Ricos, It seems like you are encountering an issue with your recording application developed using the audio API on Windows 7. The problem arises when you remove and re-plug the microphone during recording, causing your application to become unresponsive. The behavior you described, where functions like waveInUnprepareHeader() or waveInReset() do not return, could be due to differences in how Windows 7 handles audio devices compared to Windows XP. It's possible that Windows 7 has stricter handling of audio devices or different behavior when devices are hot-swapped. To address this issue, you may need to implement additional error handling and recovery mechanisms in your application to handle scenarios where devices are...