Home > Back-end >  C language programming background music!!!!!!!!!!
C language programming background music!!!!!!!!!!

Time:09-27

#include
#include
# pragma comment (lib, "winmm. Lib")
Int main ()
{

McISendString (" play 1. Mp3 wait ", NULL, SND_FILENAME | SND_ASYNC);

}


D: \ MyDownloads \ Download \ VC6.0 green \ MyProjects \ JKHGKJ \ 3 c (7) : error C2198: "McISendStringA" : too what actual parameters,



This mistake how to solve? , the great god,,,,,,, and why it change McISendString playsound can compile, online etc. A great god,,,,

CodePudding user response:

 MCIERROR McISendString (LPCTSTR lpszCommand, LPTSTR lpszReturnString, 
UINT cchReturn, HANDLE hwndCallback);

One less parameters, of course not

CodePudding user response:

A great god, and parameters how to add .

CodePudding user response:

Try
McISendString (" play 1. Mp3 wait ", NULL, 0, SND_FILENAME | SND_ASYNC);
  • Related