Capturing CDRom Messages in a Service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I am trying to capture CDRom insertion and removal messages in a windows service. (No I am not running with the interactive desktop). I have written a C# app using the NativeWindow trick to successfully capture the messages in a Windows Forms app, but this technique does not seem to work in a service. Should it? If not, any ideas on how to approach this

TIA

John Hoffman
 
Hi john

Thank you for posting in the community!

Can you show me the code how you capture the cdrom open and close message?
Also, can you show us what service method you place your code in?

Please paste some code snippet so that we can help you better, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi John,

Is your problem resolved? Please feel free to feedback. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top