gecool wrote: they (Micro$oft) weren't suppose to reveal their own secret, were they ? May Be ;P:-D
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
The whole idea is that I know how to output an empty string ;-), but in a piece of code where I am using streams, that unwanted character "A", keep showing up grrrrrr, and I would like to figure out why. If I remove the flush, same thing happens.
I demonstrate by passing your Class pointer to your Worker thread. Let your class be CMyClass and Worker thread function something like this
[vccode]
// Thread function
UINT MyControllingFunction( LPVOID pParam );
// Class
void CMyClass::StartThread();
{
AfxBeginThread(&MyControllingFunction,(LPVOID)this);
}
// Actual Defination of Worker Thread
UINT MyControllingFunction( LPVOID pParam )
{
CMyClass *pMainClass=(CMyClass*)pParam;
//do something with pMainClass.......
//end thread
return 0;
}
[Vote One Here, Complete my Survey....] Alok Gupta
visit me at http://www.thisisalok.tk "I Think Believe this Will Help"
You could record this data using the Waveform-Audio Interface. You may find information on how to use this API to record audio data at the following address: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/managingwaveformaudiorecording.asp[^]. HTH,
Fold With Us! Sie wollen mein Herz am rechten Fleck Doch seh ich dann nach unten weg Da schlägt es links
Thx, the article from microsoft is enough for me ...:) But what about those freakin' animals ? Q: why a blonde died when her headphones were removed ? A: cause she was hearing: now inhale, now exhale, now inhale, now exhale ...:laugh: