Link to home
Start Free TrialLog in
Avatar of simlox
simloxFlag for United Kingdom of Great Britain and Northern Ireland

asked on

playing wav files direct from code..

Hi experts.. this is what i wanna do..

I got a process that reads a database and does some work.. and I want the code the play a wav file when its finished..
All the code i've found just seems to use media player or the like... I'm after pure code and no controls...

Cheers
Avatar of Daij-Djan
Daij-Djan

dllimport native command 'play'.
Avatar of simlox

ASKER

could you give me an example of some code to play a wav file.?
look into msdn.microsoft.com for how to use play and then use the attribute dllimport.
ASKER CERTIFIED SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial