All Forums
 Microsoft Windows CE
 CE Drivers
 Audio driver leaving device open
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

tom.hill

16 Posts

Posted - 10 Oct 2002 :  10:47:22  Show Profile  Email Poster
If an application terminates without having properly closed the audio device, the device remains open until the system is restarted.

Is there a way to close an open device (or take ownership) when the original owner has terminated?

Is there a way the device driver can know to close it automatically when the owning application has terminated?

akidder

1519 Posts

Posted - 26 Dec 2002 :  17:58:45  Show Profile  Email Poster
You might try adding some exception handling to your application to make sure that if the app closes abnormally, at least the audio driver gets closed. I understand you can use TRY/CATCH expressions, but I don't have experience with them myself.

If your application ends up leaving the device driver open, I think the only way you can clear it is to to restart CE (e.g. \windows\restart.exe).
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000