Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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

AnswerRe: DIALOG WITH MULTIPLE THREADS Pin
Randor 25-Jun-18 8:22
professional Randor 25-Jun-18 8:22 
AnswerRe: DIALOG WITH MULTIPLE THREADS Pin
Victor Nijegorodov25-Jun-18 8:52
Victor Nijegorodov25-Jun-18 8:52 
QuestionCan't automate Excel from Windows 10 Pin
garyflet21-Jun-18 8:39
garyflet21-Jun-18 8:39 
AnswerRe: Can't automate Excel from Windows 10 Pin
Victor Nijegorodov21-Jun-18 20:59
Victor Nijegorodov21-Jun-18 20:59 
AnswerRe: Can't automate Excel from Windows 10 Pin
_Flaviu21-Jun-18 22:43
_Flaviu21-Jun-18 22:43 
Questionlooking for 3rd party library to "create overlay guided user experiences" ? Pin
Maximilien21-Jun-18 8:17
Maximilien21-Jun-18 8:17 
QuestionTCP/IP Socket connectivity issue in Internet Pin
manoharbalu19-Jun-18 1:44
manoharbalu19-Jun-18 1:44 
AnswerRe: TCP/IP Socket connectivity issue in Internet Pin
Jochen Arndt19-Jun-18 2:52
professionalJochen Arndt19-Jun-18 2:52 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
manoharbalu19-Jun-18 3:44
manoharbalu19-Jun-18 3:44 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
Jochen Arndt19-Jun-18 4:33
professionalJochen Arndt19-Jun-18 4:33 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
manoharbalu20-Jun-18 19:02
manoharbalu20-Jun-18 19:02 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
Jochen Arndt20-Jun-18 21:04
professionalJochen Arndt20-Jun-18 21:04 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
manoharbalu21-Jun-18 0:55
manoharbalu21-Jun-18 0:55 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
Jochen Arndt21-Jun-18 1:31
professionalJochen Arndt21-Jun-18 1:31 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
manoharbalu21-Jun-18 19:36
manoharbalu21-Jun-18 19:36 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
Victor Nijegorodov21-Jun-18 20:35
Victor Nijegorodov21-Jun-18 20:35 
GeneralRe: TCP/IP Socket connectivity issue in Internet Pin
Jochen Arndt21-Jun-18 20:55
professionalJochen Arndt21-Jun-18 20:55 

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.