Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to implement Ctrl + tab to navigate between tabs in a CTabCtrl Pin
Amrit Agr28-Apr-16 23:21
Amrit Agr28-Apr-16 23:21 
QuestionDoes DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow27-Apr-16 13:11
ForNow27-Apr-16 13:11 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
Richard MacCutchan27-Apr-16 21:45
mveRichard MacCutchan27-Apr-16 21:45 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow28-Apr-16 2:13
ForNow28-Apr-16 2:13 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
leon de boer28-Apr-16 1:34
leon de boer28-Apr-16 1:34 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow28-Apr-16 2:16
ForNow28-Apr-16 2:16 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
Parthiban.Appuswamy28-Apr-16 3:39
Parthiban.Appuswamy28-Apr-16 3:39 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
leon de boer28-Apr-16 4:51
leon de boer28-Apr-16 4:51 
QuestionHow To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 2:22
Frederick J. Harris24-Apr-16 2:22 
AnswerRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 3:02
mveRichard MacCutchan24-Apr-16 3:02 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 4:57
Frederick J. Harris24-Apr-16 4:57 
GeneralRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 5:44
mveRichard MacCutchan24-Apr-16 5:44 
AnswerRe: How To Look At GCC C Sources Pin
Jochen Arndt24-Apr-16 21:32
professionalJochen Arndt24-Apr-16 21:32 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 23:57
Frederick J. Harris24-Apr-16 23:57 
QuestionExchanging data using CSocket Pin
manoharbalu22-Apr-16 22:30
manoharbalu22-Apr-16 22:30 
We have a Server and Client application developed in MFC
The Server and the client exchange data using CSocket class

We have a big Structure of size 900000 bytes to exchange data.
Our Structure contains array of integer, char and float as data members. Our structure looks like the below eg.
struct ModData
{
float LH [600];
float XS [30][600];
float NER [600];
float TDER [600];
float DER [30][600];
float SS [1500];
float SS2 [1500];
float COMP [30][1500];
char POIC [900];
int AMID [100];
char AMS [100];
char WTL [2500];
char FRN;
char XGO;
};

I am copying all the structure data to char variable and send and receive data between clients through serialization. We have a global object for the above structure whose values changes continuously based on some calculations every 250 millisec. So some of the data changes continously every 250 millisec.

Example calculations that change data:
Test->ss = Test->ss + Test->Log * Sin(5.62) * Test->LH /4.566

There are several formulas that get executed based on logics which process the data in cycles.

I want to send only the values that are changing whereas now I am transfering the entire data every 2 seconds.

Is there any better way of identifying only the changed data to send it. Please help.
AnswerRe: Exchanging data using CSocket Pin
Jochen Arndt22-Apr-16 23:30
professionalJochen Arndt22-Apr-16 23:30 
GeneralRe: Exchanging data using CSocket Pin
manoharbalu24-Apr-16 20:23
manoharbalu24-Apr-16 20:23 
GeneralRe: Exchanging data using CSocket Pin
Jochen Arndt24-Apr-16 20:53
professionalJochen Arndt24-Apr-16 20:53 
QuestionAdding UI to an existing console project using windows form Pin
Member 935023722-Apr-16 6:05
Member 935023722-Apr-16 6:05 
AnswerRe: Adding UI to an existing console project using windows form Pin
Richard MacCutchan22-Apr-16 6:47
mveRichard MacCutchan22-Apr-16 6:47 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 21:51
Member 935023725-Apr-16 21:51 
AnswerRe: Adding UI to an existing console project using windows form Pin
leon de boer24-Apr-16 15:49
leon de boer24-Apr-16 15:49 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 21:55
Member 935023725-Apr-16 21:55 
QuestionCode Blocks giving fatal error of not finding header file when there are seperate class files Pin
Mur250122-Apr-16 3:07
Mur250122-Apr-16 3:07 
SuggestionRe: Code Blocks giving fatal error of not finding header file when there are seperate class files Pin
Richard MacCutchan22-Apr-16 4:15
mveRichard MacCutchan22-Apr-16 4:15 

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.