Click here to Skip to main content
15,886,788 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Mark Salsbery4-Jul-11 9:01
Mark Salsbery4-Jul-11 9:01 
AnswerRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Odysseas Z4-Jul-11 9:05
Odysseas Z4-Jul-11 9:05 
GeneralRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Mark Salsbery4-Jul-11 9:12
Mark Salsbery4-Jul-11 9:12 
GeneralRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Odysseas Z4-Jul-11 9:20
Odysseas Z4-Jul-11 9:20 
GeneralRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Mark Salsbery4-Jul-11 9:30
Mark Salsbery4-Jul-11 9:30 
GeneralRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Odysseas Z4-Jul-11 9:33
Odysseas Z4-Jul-11 9:33 
GeneralRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Mark Salsbery4-Jul-11 9:35
Mark Salsbery4-Jul-11 9:35 
QuestionHow to implement CALLBACK_THREAD ( MFC worker thread) in waveInOpen API ? Pin
Vaclav_4-Jul-11 4:25
Vaclav_4-Jul-11 4:25 
Since I needed a way to stop / disable COM port DTR signal I have ventured into unknown territory of multithreading . I am making progress.
Now I need to use same approach to start / stop audio recording.
I am using waveInOpen function with CALLBACK_FUNTION.
Upon receiving the WIM_DATA the callback function will run the worker thread.

However,waveInOpen has an option to use CALLBACK_THREAD and I am unable to find any examples on how it can be used.
Since using callback can be challenging, it is for me, I like the callback function giving me feedback aka – WIM_OPEN.

How can I get that response from CALLBACK_THREAD / worker thread?

I am coding in VC++ / MFC, please do not waste your and mine time suggesting alternative development tools.

Any constructive help will be as always appreciated..

Cheers
Vaclav
AnswerRe: How to implement CALLBACK_THREAD ( MFC worker thread) in waveInOpen API ? Pin
«_Superman_»4-Jul-11 7:33
professional«_Superman_»4-Jul-11 7:33 
GeneralRe: How to implement CALLBACK_THREAD ( MFC worker thread) in waveInOpen API ? Pin
Vaclav_4-Jul-11 7:48
Vaclav_4-Jul-11 7:48 
QuestionHow to store Hexa value in a Text field of a table Pin
Amrit Agr3-Jul-11 21:25
Amrit Agr3-Jul-11 21:25 
AnswerRe: How to store Hexa value in a Text field of a table Pin
Randor 3-Jul-11 23:53
professional Randor 3-Jul-11 23:53 
GeneralRe: How to store Hexa value in a Text field of a table Pin
LiangGuangLin4-Jul-11 2:58
LiangGuangLin4-Jul-11 2:58 
GeneralRe: How to store Hexa value in a Text field of a table Pin
Randor 4-Jul-11 3:22
professional Randor 4-Jul-11 3:22 
GeneralRe: How to store Hexa value in a Text field of a table Pin
LiangGuangLin4-Jul-11 3:45
LiangGuangLin4-Jul-11 3:45 
GeneralRe: How to store Hexa value in a Text field of a table Pin
Richard MacCutchan4-Jul-11 6:19
mveRichard MacCutchan4-Jul-11 6:19 
GeneralRe: How to store Hexa value in a Text field of a table Pin
Maximilien4-Jul-11 7:08
Maximilien4-Jul-11 7:08 
QuestionBegining ATL 3 COM programming source code Pin
Sakhalean3-Jul-11 21:18
Sakhalean3-Jul-11 21:18 
AnswerRe: Begining ATL 3 COM programming source code Pin
Richard MacCutchan3-Jul-11 23:56
mveRichard MacCutchan3-Jul-11 23:56 
Questionset value from edit box to url? Pin
Le@rner3-Jul-11 20:51
Le@rner3-Jul-11 20:51 
AnswerRe: set value from edit box to url? Pin
_AnsHUMAN_ 3-Jul-11 21:04
_AnsHUMAN_ 3-Jul-11 21:04 
Questionerror in CString to const std::string conversion. Pin
Le@rner3-Jul-11 19:15
Le@rner3-Jul-11 19:15 
AnswerRe: error in CString to const std::string conversion. Pin
ShilpiP3-Jul-11 19:35
ShilpiP3-Jul-11 19:35 
GeneralRe: error in CString to const std::string conversion. Pin
Le@rner3-Jul-11 20:57
Le@rner3-Jul-11 20:57 
AnswerRe: error in CString to const std::string conversion. Pin
Rajesh R Subramanian3-Jul-11 20:59
professionalRajesh R Subramanian3-Jul-11 20:59 

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.