Click here to Skip to main content
14,841,902 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Edit Subitems In Owner Drawn List Pin
Richard MacCutchan23-May-16 6:08
mveRichard MacCutchan23-May-16 6:08 
AnswerRe: Edit Subitems In Owner Drawn List Pin
leon de boer23-May-16 5:59
Memberleon de boer23-May-16 5:59 
AnswerRe: Edit Subitems In Owner Drawn List Pin
Bram van Kampen1-Jun-16 16:09
MemberBram van Kampen1-Jun-16 16:09 
QuestionHow to send huge data via sockets in continuous intervals Pin
manoharbalu22-May-16 19:09
Membermanoharbalu22-May-16 19:09 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
Richard MacCutchan22-May-16 20:58
mveRichard MacCutchan22-May-16 20:58 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu23-May-16 3:08
Membermanoharbalu23-May-16 3:08 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
Richard MacCutchan23-May-16 3:33
mveRichard MacCutchan23-May-16 3:33 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
leon de boer22-May-16 22:16
Memberleon de boer22-May-16 22:16 
Of coarse it slows down you send the client and server to sleep for 1/2 a second everytime it sends or recieves. You do get that sleeps the entire MFC framework don't you?

It appears to be a some sort of half arsed timing mechanism that will inevitably fail ... there are things called TIMERS for timing functions, use them.

If you want it blunt get rid of these and things will work a whole lot quicker =====> Sleep(500);

If you want me to be super blunt there is no good reason to sleep an MFC or any Win32 program ever, forget that call and never use it in proper code it's a hack we sometimes use when trying to proto stuff. There are a multitude of proper ways to load balance and wait for things in nice Windows proper ways.
In vino veritas


modified 23-May-16 4:28am.

GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu23-May-16 3:07
Membermanoharbalu23-May-16 3:07 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
leon de boer23-May-16 5:41
Memberleon de boer23-May-16 5:41 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu24-May-16 1:57
Membermanoharbalu24-May-16 1:57 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
leon de boer24-May-16 4:01
Memberleon de boer24-May-16 4:01 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu24-May-16 20:44
Membermanoharbalu24-May-16 20:44 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
leon de boer25-May-16 22:08
Memberleon de boer25-May-16 22:08 
SuggestionRe: How to send huge data via sockets in continuous intervals Pin
David Crow23-May-16 3:41
MemberDavid Crow23-May-16 3:41 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
Joe Woodbury25-May-16 6:42
professionalJoe Woodbury25-May-16 6:42 
QuestionInput multiple data types from a file into a linked list Pin
Farhan_Karim20-May-16 17:51
MemberFarhan_Karim20-May-16 17:51 
AnswerRe: Input multiple data types from a file into a linked list Pin
Richard MacCutchan20-May-16 21:54
mveRichard MacCutchan20-May-16 21:54 
GeneralRe: Input multiple data types from a file into a linked list Pin
Farhan_Karim20-May-16 22:08
MemberFarhan_Karim20-May-16 22:08 
GeneralRe: Input multiple data types from a file into a linked list Pin
Richard MacCutchan20-May-16 22:30
mveRichard MacCutchan20-May-16 22:30 
GeneralRe: Input multiple data types from a file into a linked list Pin
leon de boer22-May-16 4:00
Memberleon de boer22-May-16 4:00 
QuestionRe: Input multiple data types from a file into a linked list Pin
David Crow21-May-16 14:45
MemberDavid Crow21-May-16 14:45 
QuestionIs it good practice for a beginner C++ coder to use autocomplete? Pin
Member KL20-May-16 10:16
MemberMember KL20-May-16 10:16 
SuggestionRe: Is it good practice for a beginner C++ coder to use autocomplete? Pin
David Crow20-May-16 10:26
MemberDavid Crow20-May-16 10:26 
GeneralRe: Is it good practice for a beginner C++ coder to use autocomplete? Pin
Albert Holguin20-May-16 13:10
professionalAlbert Holguin20-May-16 13:10 

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.