Click here to Skip to main content
15,894,720 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ and Artificial Intelligence Pin
Manish K. Agarwal28-Jun-18 21:56
Manish K. Agarwal28-Jun-18 21:56 
GeneralRe: C++ and Artificial Intelligence Pin
_Flaviu28-Jun-18 22:06
_Flaviu28-Jun-18 22:06 
AnswerRe: C++ and Artificial Intelligence Pin
Daniel Pfeffer2-Jul-18 23:21
professionalDaniel Pfeffer2-Jul-18 23:21 
AnswerRe: C++ and Artificial Intelligence Pin
Maximilien3-Jul-18 8:40
Maximilien3-Jul-18 8:40 
AnswerRe: C++ and Artificial Intelligence Pin
Stefan_Lang16-Jul-18 5:47
Stefan_Lang16-Jul-18 5:47 
Questionevent handler Pin
Member 1249901728-Jun-18 8:21
Member 1249901728-Jun-18 8:21 
AnswerRe: event handler Pin
Victor Nijegorodov28-Jun-18 8:59
Victor Nijegorodov28-Jun-18 8:59 
AnswerRe: event handler Pin
«_Superman_»1-Jul-18 18:20
professional«_Superman_»1-Jul-18 18:20 
Question#import <somedll.dll> no_namespace Pin
Sakthiu28-Jun-18 5:03
Sakthiu28-Jun-18 5:03 
AnswerRe: #import <somedll.dll> no_namespace Pin
Joe Woodbury28-Jun-18 5:46
professionalJoe Woodbury28-Jun-18 5:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
Victor Nijegorodov28-Jun-18 8:46
Victor Nijegorodov28-Jun-18 8:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
«_Superman_»1-Jul-18 18:25
professional«_Superman_»1-Jul-18 18:25 
QuestionC++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Umad Ahmad27-Jun-18 1:45
Umad Ahmad27-Jun-18 1:45 
AnswerRe: C++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Richard MacCutchan27-Jun-18 2:36
mveRichard MacCutchan27-Jun-18 2:36 
QuestionConvert C++ code to python Pin
Megha Bhamare27-Jun-18 1:26
Megha Bhamare27-Jun-18 1:26 
AnswerRe: Convert C++ code to python Pin
Richard MacCutchan27-Jun-18 2:30
mveRichard MacCutchan27-Jun-18 2:30 
QuestionHow to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 3:31
Sakthiu26-Jun-18 3:31 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Victor Nijegorodov26-Jun-18 4:04
Victor Nijegorodov26-Jun-18 4:04 
GeneralRe: How to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 4:08
Sakthiu26-Jun-18 4:08 
QuestionRe: How to call a 'C' program function from VB code ? Pin
David Crow26-Jun-18 4:38
David Crow26-Jun-18 4:38 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 4:44
Sakthiu26-Jun-18 4:44 
AnswerRe: How to call a 'C' program function from VB code ? Pin
David Crow26-Jun-18 4:49
David Crow26-Jun-18 4:49 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Randor 26-Jun-18 5:44
professional Randor 26-Jun-18 5:44 
PraiseRe: How to call a 'C' program function from VB code ? Pin
«_Superman_»1-Jul-18 18:28
professional«_Superman_»1-Jul-18 18:28 
QuestionDIALOG WITH MULTIPLE THREADS Pin
Member 1142662425-Jun-18 7:52
Member 1142662425-Jun-18 7:52 
Hi I have Dialog based mfc applciation using visual studio 2013.

Dialog contains multiple controls. It has two threads - main ui thread and worker thread

In a particular control (some static test)  i have to show some counts (like number of Cars produced 

and Number of Bikes prodcued, and total ). Actually these counts are given by worker thread. 

Worker thread continuously gives the counts (that is live data)

I have to update UI from main thread based on these data lively.

Please help me to design this use case. My ui contains multiple controls. I don't want to block the UI

How to pass the data(counts) from worker thread to main thread? how to avoid block in main thread?

Is there any need for queue or another thread?

That is UI will be some thing like

 number of Cars produced:10 

 number of Bikes produced: 20

Total: 30

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.