Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CMainwindow Pin
Iain Clarke, Warrior Programmer2-Apr-09 6:24
Iain Clarke, Warrior Programmer2-Apr-09 6:24 
QuestionHow to retrieve contents of a control in a different application? Pin
neil47811-Apr-09 19:51
neil47811-Apr-09 19:51 
AnswerRe: How to retrieve contents of a control in a different application? Pin
Stuart Dootson1-Apr-09 22:09
professionalStuart Dootson1-Apr-09 22:09 
AnswerRe: How to retrieve contents of a control in a different application? Pin
sashoalm4-Apr-09 3:32
sashoalm4-Apr-09 3:32 
QuestionAnother Stupid Question? Pin
Joseph Marzbani1-Apr-09 19:35
Joseph Marzbani1-Apr-09 19:35 
AnswerRe: Another Stupid Question? Pin
«_Superman_»1-Apr-09 19:45
professional«_Superman_»1-Apr-09 19:45 
AnswerRe: Another Stupid Question? Pin
Joseph Marzbani1-Apr-09 20:12
Joseph Marzbani1-Apr-09 20:12 
JokeRe: Another Stupid Question? Pin
Iain Clarke, Warrior Programmer2-Apr-09 6:15
Iain Clarke, Warrior Programmer2-Apr-09 6:15 
AnswerRe: Another Stupid Question? Pin
Maxwell Chen1-Apr-09 20:24
Maxwell Chen1-Apr-09 20:24 
GeneralRe: Another Stupid Question? Pin
vital_parsley1-Apr-09 21:46
vital_parsley1-Apr-09 21:46 
AnswerRe: Another Stupid Question? Pin
Joseph Marzbani1-Apr-09 22:53
Joseph Marzbani1-Apr-09 22:53 
QuestionWindows Message API problem for LVM_GETITEMTEXT Pin
Joshi, Rushikesh1-Apr-09 19:30
professionalJoshi, Rushikesh1-Apr-09 19:30 
AnswerRe: Windows Message API problem for LVM_GETITEMTEXT Pin
«_Superman_»1-Apr-09 19:49
professional«_Superman_»1-Apr-09 19:49 
GeneralRe: Windows Message API problem for LVM_GETITEMTEXT Pin
Joshi, Rushikesh1-Apr-09 23:44
professionalJoshi, Rushikesh1-Apr-09 23:44 
Questionhow to transfer file between windows and linux Pin
chen10001-Apr-09 18:58
chen10001-Apr-09 18:58 
AnswerRe: how to transfer file between windows and linux Pin
Stuart Dootson1-Apr-09 22:23
professionalStuart Dootson1-Apr-09 22:23 
Questionscaler deleting destructor Pin
Deepu Antony1-Apr-09 18:34
Deepu Antony1-Apr-09 18:34 
AnswerRe: scaler deleting destructor Pin
Maxwell Chen1-Apr-09 19:23
Maxwell Chen1-Apr-09 19:23 
GeneralRe: scaler deleting destructor Pin
Deepu Antony1-Apr-09 19:48
Deepu Antony1-Apr-09 19:48 
GeneralRe: scaler deleting destructor Pin
Maxwell Chen1-Apr-09 20:19
Maxwell Chen1-Apr-09 20:19 
QuestionlbuttonDown out of a mode window, witch message is spring? Pin
coderormnger1-Apr-09 16:35
coderormnger1-Apr-09 16:35 
AnswerRe: lbuttonDown out of a mode window, witch message is spring? Pin
Nishad S1-Apr-09 19:48
Nishad S1-Apr-09 19:48 
QuestionUsing 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
SNArruda1-Apr-09 13:02
SNArruda1-Apr-09 13:02 
AnswerRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
Stuart Dootson1-Apr-09 13:33
professionalStuart Dootson1-Apr-09 13:33 
GeneralRe: Using 2 thread i receive a message " Access violation reading location 0x0000001c ". The cmd that generate the error is simply CString utilization... Pin
SNArruda1-Apr-09 14:31
SNArruda1-Apr-09 14:31 
Tanks for your attention ...

Stuart Dootson wrote:
Sorry, but if you call a function from the worked thread, it's going to execute in the context of the worked thread, no matter if you think it should be executing in the UI thread.

so, there are a way to start a function directly in a UI Thread context from worker thread context ?

Stuart Dootson wrote:
Do you use any locking or any other technique to make sure that shared data isn't being altered by one of the threads while the other one's looking at it?

Here, i have many questions about how the things happen, i´m very new about it. above you tell me about context´s ... wy the data needs to be locked before your use ? ... each context don´t have your own data ... or for example the data STPacoteFabrica::p_sPacoteFabrica (CString having a path for a diretory) belong of 2 context´s ?

There are way to attach files here ? I would like to attach the .h and .cpp files

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.