Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Console application on system tray Pin
jakas11-Apr-05 23:05
jakas11-Apr-05 23:05 
GeneralRe: Console application on system tray Pin
Cedric Moonen12-Apr-05 0:17
Cedric Moonen12-Apr-05 0:17 
GeneralLog File... Pin
mpallavi11-Apr-05 20:15
mpallavi11-Apr-05 20:15 
GeneralRe: Log File... Pin
Cedric Moonen11-Apr-05 21:12
Cedric Moonen11-Apr-05 21:12 
GeneralRe: Log File... Pin
mpallavi11-Apr-05 21:43
mpallavi11-Apr-05 21:43 
GeneralRe: Log File... Pin
Cedric Moonen11-Apr-05 21:58
Cedric Moonen11-Apr-05 21:58 
GeneralRe: Log File... Pin
mpallavi12-Apr-05 2:05
mpallavi12-Apr-05 2:05 
GeneralRe: Log File... Pin
Cedric Moonen12-Apr-05 2:12
Cedric Moonen12-Apr-05 2:12 
But what do you want to achieve exactly ?? Measure the time of the sound sample ?
You won't be able to do it like that. Because as I said, if it is run in another thread, you won't be able to access it (even in your MyDirSound class). The thread is ran directly inside the DirectX layers so you don't have access to it. But (fortunately Smile | :) ) there is probably another solution: normally there is something you can find in DirectSound (I suppose, because I don't know DirectSound) that will let you know when the sample is finished. Something like a callback function you can set or something like that. But in this field I have no knowledge so you will need to look in the doc of DirectSound. But I suppose they provided a way to do it...
GeneralRe: Log File... Pin
mpallavi12-Apr-05 2:19
mpallavi12-Apr-05 2:19 
GeneralRe: Log File... Pin
Cedric Moonen12-Apr-05 2:25
Cedric Moonen12-Apr-05 2:25 
GeneralRe: Log File... Pin
mpallavi12-Apr-05 2:15
mpallavi12-Apr-05 2:15 
GeneralRe: Log File... Pin
Cedric Moonen12-Apr-05 2:19
Cedric Moonen12-Apr-05 2:19 
Generalunable to load .cgm/.wmf file Pin
Sud_8311-Apr-05 19:17
Sud_8311-Apr-05 19:17 
GeneralRe: unable to load .cgm/.wmf file Pin
Christian Graus11-Apr-05 19:23
protectorChristian Graus11-Apr-05 19:23 
GeneralRe: unable to load .cgm/.wmf file Pin
Sud_8311-Apr-05 20:32
Sud_8311-Apr-05 20:32 
GeneralApplication hangs in release mode... Pin
Sreekanth Muralidharan11-Apr-05 18:40
Sreekanth Muralidharan11-Apr-05 18:40 
GeneralRe: Application hangs in release mode... Pin
ThatsAlok11-Apr-05 18:53
ThatsAlok11-Apr-05 18:53 
GeneralRe: Application hangs in release mode... Pin
Sreekanth Muralidharan11-Apr-05 19:52
Sreekanth Muralidharan11-Apr-05 19:52 
Questionis it possible ?....if so how? Pin
namaskaaram11-Apr-05 18:31
namaskaaram11-Apr-05 18:31 
AnswerRe: is it possible ?....if so how? Pin
Jack Puppy11-Apr-05 19:19
Jack Puppy11-Apr-05 19:19 
AnswerRe: is it possible ?....if so how? Pin
Christian Graus11-Apr-05 19:22
protectorChristian Graus11-Apr-05 19:22 
QuestionIs there any reason why we would want to use memcpy() instead of memmove()? Pin
Link260011-Apr-05 15:33
Link260011-Apr-05 15:33 
AnswerRe: Is there any reason why we would want to use memcpy() instead of memmove()? Pin
Jack Puppy11-Apr-05 17:17
Jack Puppy11-Apr-05 17:17 
GeneralRe: Is there any reason why we would want to use memcpy() instead of memmove()? Pin
Link260011-Apr-05 17:38
Link260011-Apr-05 17:38 
AnswerRe: Is there any reason why we would want to use memcpy() instead of memmove()? Pin
Ryan Binns11-Apr-05 17:57
Ryan Binns11-Apr-05 17:57 

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.