As you mentioned, it is your source code so it is rather intelligent not to look for recovering it .Just make the project once again and it will take very less time for you to develop it again as you alredy have made it previously
Quick question: Is there any way to add a scheduled task (using windows api) without using COM? I want to make my application start on user logon and UAC on Vista stops me from adding the appropriate registry value. I've done a few quick searches, but google has yet to yield anything.
A regular user should not be able to force another user to execute some of his code, and Vista has been the first Windows version to enforce this: regular users can't access someone else's private folders (such as StartUp), nor can they modify registry hives with global scope such as LOCAL_MACHINE.
And if you find a way to do it anyway, it is doomed to be a bug, and will be fixed in a service pack or a new release.
Luc Pattyn I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
I'm Using directsound for ogg file playback.
Also using the code I took from this website for it.
It works well but I'm trying to play a 2nd music/sound file straight after the 1st finishes.
At the moment i believe the 2nd sound file plays a second just before the first finishes thus creating a rather bad mismash of a sound.
Can anyone tell me from looking at the code why this is?
The only idea I have is that it has to do with the update function and how it returns the boolean "bdone", but since I have trouble trying to understand the complex parts of code I have no idea how to fix it.
What i'm doing now is play first sound.
If the sound is finished playing (bdone=true).
play second sound.
if ((oggPlayer1.IsPlaying() == false) && (flag==1))
names have been changed from original code but it's still pretty much the same.