Raven1155
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\Assistan t), no sound is played!
What am I doing wrong?!?! Could anyone offer suggestions?!?!
What am I doing wrong?!?! Could anyone offer suggestions?!?!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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^)