Link to home
Start Free TrialLog in
Avatar of Raven1155
Raven1155Flag for United States of America

asked on

Playing Waves in App.

I'm using "sndPlaySound('TAStartUp',SND_ASYNC);" to try to play a wave at the start of my D2 program (while the splash screen is showing).  If I put the definition of TAStartUp in the register under AppEvents\EventLabels, and AppEvents\Schemes\.default, then the sound plays.  But if I put it in a sub-key for the program (e.g., AppEvents\Schemes\Assistant), no sound is played!

What am I doing wrong?!?!  Could anyone offer suggestions?!?!
ASKER CERTIFIED SOLUTION
Avatar of alona041797
alona041797

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
Avatar of Raven1155

ASKER

Alona,

Your answer does not fix the problem using "sndPlaySound", but it clears it right up when one uses "PlaySound" and follows your suggestion in the Registry.

Thanks!
 Jim 8^)