Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use winmm.dll in VC++?

Status
Not open for further replies.

johnwen

Programmer
Jul 5, 2005
1
HK
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top