So I finished my program, works 100%. Basically all it does it play sounds. It's simple.
Last thing I did was add it to the startup on windows. Did it through the registry.
It works. My program opens on startup. I know that it partially works, when I select things from the tray, the options change like they're supposed to.
Only thing is, it doesn't play sound. At all. Not the sound I tell it to play on start up, or the sound I tell it to play when I hit keys.
If I relaunch the program, which replaces the old one, it works perfectly.
Any ideas? Is there some kind of permission issue with things lanched via the registry? Did it get launched too early and couldn't hook into the sound card?