Click here to Skip to main content
14,774,184 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
leon de boer28-Apr-16 5:51
Memberleon de boer28-Apr-16 5:51 
QuestionHow To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 3:22
MemberFrederick J. Harris24-Apr-16 3:22 
AnswerRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 4:02
mveRichard MacCutchan24-Apr-16 4:02 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 5:57
MemberFrederick J. Harris24-Apr-16 5:57 
GeneralRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 6:44
mveRichard MacCutchan24-Apr-16 6:44 
AnswerRe: How To Look At GCC C Sources Pin
Jochen Arndt24-Apr-16 22:32
professionalJochen Arndt24-Apr-16 22:32 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris25-Apr-16 0:57
MemberFrederick J. Harris25-Apr-16 0:57 
QuestionExchanging data using CSocket Pin
manoharbalu22-Apr-16 23:30
Membermanoharbalu22-Apr-16 23: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 Arndt23-Apr-16 0:30
professionalJochen Arndt23-Apr-16 0:30 
GeneralRe: Exchanging data using CSocket Pin
manoharbalu24-Apr-16 21:23
Membermanoharbalu24-Apr-16 21:23 
GeneralRe: Exchanging data using CSocket Pin
Jochen Arndt24-Apr-16 21:53
professionalJochen Arndt24-Apr-16 21:53 
QuestionAdding UI to an existing console project using windows form Pin
Member 935023722-Apr-16 7:05
MemberMember 935023722-Apr-16 7:05 
AnswerRe: Adding UI to an existing console project using windows form Pin
Richard MacCutchan22-Apr-16 7:47
mveRichard MacCutchan22-Apr-16 7:47 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 22:51
MemberMember 935023725-Apr-16 22:51 
AnswerRe: Adding UI to an existing console project using windows form Pin
leon de boer24-Apr-16 16:49
Memberleon de boer24-Apr-16 16:49 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 22:55
MemberMember 935023725-Apr-16 22:55 
QuestionCode Blocks giving fatal error of not finding header file when there are seperate class files Pin
Mur250122-Apr-16 4:07
MemberMur250122-Apr-16 4:07 
SuggestionRe: Code Blocks giving fatal error of not finding header file when there are seperate class files Pin
Richard MacCutchan22-Apr-16 5:15
mveRichard MacCutchan22-Apr-16 5:15 
QuestionRe: Code Blocks giving fatal error of not finding header file when there are seperate class files Pin
David Crow22-Apr-16 18:58
MemberDavid Crow22-Apr-16 18:58 
QuestionCan DDX_Text be used with CTEXT resource item Pin
ForNow21-Apr-16 17:58
MemberForNow21-Apr-16 17:58 
QuestionRe: Can DDX_Text be used with CTEXT resource item Pin
Richard MacCutchan21-Apr-16 21:48
mveRichard MacCutchan21-Apr-16 21:48 
AnswerRe: Can DDX_Text be used with CTEXT resource item Pin
ForNow22-Apr-16 4:26
MemberForNow22-Apr-16 4:26 
AnswerRe: Can DDX_Text be used with CTEXT resource item Pin
Victor Nijegorodov22-Apr-16 1:39
MemberVictor Nijegorodov22-Apr-16 1:39 
GeneralRe: Can DDX_Text be used with CTEXT resource item Pin
ForNow22-Apr-16 4:25
MemberForNow22-Apr-16 4:25 
Questioncode path for DoModal Pin
ForNow17-Apr-16 7:21
MemberForNow17-Apr-16 7:21 

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.