Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to play a mp3 file in windows mobile when a button is clicked..i searched the web but they are using "aygshell.dll"...aygshell.dll is not available in my vs 2008..i tried to download it but its not working....is there any other possible way i can do it..please help.....

C#
[DllImport("aygshell.dll", SetLastError = true)]
static extern IntPtr SndPlaySync(string Path, uint Flags);
.....
SndPlaySync(@"\ResidentFlash\Audios\02_SatGuide_Hellotune.mp3", 0); 

this is the code i got but its not working....
Posted
Updated 20-Mar-12 22:45pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900