Click here to Skip to main content
15,921,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Run at startup using scheduled tasks Pin
«_Superman_»5-Nov-09 17:05
professional«_Superman_»5-Nov-09 17:05 
GeneralRe: Run at startup using scheduled tasks Pin
hxhl955-Nov-09 17:10
hxhl955-Nov-09 17:10 
GeneralRe: Run at startup using scheduled tasks Pin
«_Superman_»5-Nov-09 17:11
professional«_Superman_»5-Nov-09 17:11 
AnswerRe: Run at startup using scheduled tasks Pin
David Crow6-Nov-09 3:42
David Crow6-Nov-09 3:42 
AnswerRe: Run at startup using scheduled tasks Pin
Luc Pattyn5-Nov-09 16:28
sitebuilderLuc Pattyn5-Nov-09 16:28 
GeneralRe: Run at startup using scheduled tasks Pin
hxhl955-Nov-09 16:35
hxhl955-Nov-09 16:35 
GeneralRe: Run at startup using scheduled tasks [modified] Pin
Luc Pattyn5-Nov-09 17:20
sitebuilderLuc Pattyn5-Nov-09 17:20 
GeneralRe: Run at startup using scheduled tasks Pin
hxhl955-Nov-09 17:23
hxhl955-Nov-09 17:23 
GeneralRe: Run at startup using scheduled tasks Pin
Luc Pattyn6-Nov-09 2:44
sitebuilderLuc Pattyn6-Nov-09 2:44 
GeneralRe: Run at startup using scheduled tasks [modified] Pin
hxhl956-Nov-09 11:52
hxhl956-Nov-09 11:52 
QuestionIs it possible of removing menues from a CDockablePane??? Pin
Dale Haessel5-Nov-09 11:33
Dale Haessel5-Nov-09 11:33 
AnswerRe: Is it possible of removing menues from a CDockablePane??? Pin
Randor 5-Nov-09 11:53
professional Randor 5-Nov-09 11:53 
GeneralRe: Is it possible of removing menues from a CDockablePane??? Pin
«_Superman_»5-Nov-09 11:56
professional«_Superman_»5-Nov-09 11:56 
JokeRe: Is it possible of removing menues from a CDockablePane??? Pin
Randor 5-Nov-09 12:05
professional Randor 5-Nov-09 12:05 
JokeRe: Is it possible of removing menues from a CDockablePane??? Pin
«_Superman_»5-Nov-09 12:06
professional«_Superman_»5-Nov-09 12:06 
AnswerRe: Is it possible of removing menues from a CDockablePane??? Pin
«_Superman_»5-Nov-09 11:54
professional«_Superman_»5-Nov-09 11:54 
QuestionSound programming issue. Pin
GLGunblade5-Nov-09 9:27
GLGunblade5-Nov-09 9:27 
I'm Using directsound for ogg file playback.
Also using the code I took from this website for it.
http://www.flipcode.com/archives/Ogg_Vorbis_Player_Class.shtml

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 (flag==0)
	{
		oggPlayer1.Play();
		flag=1;
	}
	if ((oggPlayer1.IsPlaying() == false) && (flag==1))
	{	
		oggPlayer2.Play();
		oggPlayer1.Close();
		
		flag=2;
	}


names have been changed from original code but it's still pretty much the same.

Thanks for any help.
QuestionRe: Sound programming issue. Pin
David Crow5-Nov-09 9:40
David Crow5-Nov-09 9:40 
AnswerRe: Sound programming issue. Pin
GLGunblade5-Nov-09 12:02
GLGunblade5-Nov-09 12:02 
GeneralRe: Sound programming issue. Pin
David Crow6-Nov-09 3:19
David Crow6-Nov-09 3:19 
GeneralRe: Sound programming issue. [modified] Pin
GLGunblade6-Nov-09 7:24
GLGunblade6-Nov-09 7:24 
QuestionRe: Sound programming issue. Pin
David Crow6-Nov-09 16:26
David Crow6-Nov-09 16:26 
AnswerRe: Sound programming issue. Pin
GLGunblade7-Nov-09 16:38
GLGunblade7-Nov-09 16:38 
QuestionInjecting code in all explorer processes Pin
Ivo Beltchev5-Nov-09 6:01
Ivo Beltchev5-Nov-09 6:01 
AnswerRe: Injecting code in all explorer processes Pin
«_Superman_»5-Nov-09 7:11
professional«_Superman_»5-Nov-09 7:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.