PlaySound function which include reqd How to make it work?
How do I get the fn PlaySound work in VC++ (6.0)?
I included mmsyatem.h file? any other file to include?
Raghavan141248
Re: PlaySound function which include reqd How to make it work?
Re: PlaySound function which include reqd How to make it work?
Code:
#include <mmsystem.h>
#pragma comment(lib, "winmm.lib") // needed only once somewhere in the source code
Re: PlaySound function which include reqd How to make it work?
Quote:
Originally Posted by
raghavan141248
How do I get the fn PlaySound work in VC++ (6.0)?
I included mmsyatem.h file? any other file to include?
Raghavan141248
Hello, the previous version of VS doesn't offer as many features as the latest VS05, VS08 and VS10
Oppps, I am in a true mood you may know,
Re: PlaySound function which include reqd How to make it work?
Quote:
Originally Posted by
ThachQuanVy
Hello, the previous version of VS doesn't offer as many features as the latest VS05, VS08 and VS10
Oppps, I am in a true mood you may know,
Add the items as mentioned by Igor then add a function...this works in VC6
Code:
PlaySound("c:/windows/media/XXX.wav", NULL, SND_ASYNC);