none
waveIn usage in .NET

    Question

  • I need to incorporate some recording functions, for example the ones that begin with "waveIn...", into a visual studio program written in C#, but adding "using System.Media" still does not allow them. I am talking about functions described in

    <ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/multimed/htm/_win32_waveform_audio_reference.htm>. What do I need to do?

     

    Saturday, July 15, 2006 6:38 PM

Answers

  • Thank you for the hint. Actually, www.pinvoke.com led nowhere, but I found a good beginning under "platform invoke" in the .NET documentation which may solve my problem. I will post my conclusion when I have worked on it. Thanks again.
    Sunday, July 16, 2006 5:18 PM

All replies

  • Those are Windows API functions, you'll need P/Invoke to call them.  Visit www.pinvoke.com and see if you find the required declarations...

    Saturday, July 15, 2006 10:12 PM
    Moderator
  • Thank you for the hint. Actually, www.pinvoke.com led nowhere, but I found a good beginning under "platform invoke" in the .NET documentation which may solve my problem. I will post my conclusion when I have worked on it. Thanks again.
    Sunday, July 16, 2006 5:18 PM