on-internet
← Community

How to record system sound with mciSendString

Stack Overflow ·

I try to record system sound with mciSendString but no sound that it records. How to fix this? Imports System.Runtime.InteropServices Public Class Form1 ' Importeer de mciSendString functie uit winmm.dll <DllImport("winmm.dll", EntryPoint:="mciSendStringA", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> Private Shared Function mciSendString(lpstrCommand As String, lpstrReturnString As String, uReturnLength As Integer, hwndCallback As IntPtr) As Integer End Function Private Sub btnStart_Click_1(sender As Object, e As EventArgs) Handles btnStart.Click ' ' Open en start de opnam

Comments

Sign in or sign up to comment and upvote.

No comments yet.