[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

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?!?!
0
Raven1155
Asked:
Raven1155
1 Solution
 
alona041797Commented:
I think the program header should be equal to the your application's project name.
0
 
Raven1155Author Commented:
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^)
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now