Hello,
In Visual Basic6, I know I can use the "program" or "set of classes" winmm.dll, and the VB code is like :
Public Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
but how to write the Visual C++ code for using winmm.dll? Can you tell me concretely in detail?
JohnWen604
In Visual Basic6, I know I can use the "program" or "set of classes" winmm.dll, and the VB code is like :
Public Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
but how to write the Visual C++ code for using winmm.dll? Can you tell me concretely in detail?
JohnWen604