Click here to Skip to main content
15,914,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondynamically allocted array question Pin
kitty528-Jul-06 1:22
kitty528-Jul-06 1:22 
AnswerRe: dynamically allocted array question Pin
Cedric Moonen28-Jul-06 1:31
Cedric Moonen28-Jul-06 1:31 
GeneralRe: dynamically allocted array question Pin
Steen Krogsgaard28-Jul-06 1:39
Steen Krogsgaard28-Jul-06 1:39 
GeneralRe: dynamically allocted array question Pin
kitty528-Jul-06 2:08
kitty528-Jul-06 2:08 
GeneralRe: dynamically allocted array question Pin
Cedric Moonen28-Jul-06 2:15
Cedric Moonen28-Jul-06 2:15 
GeneralRe: dynamically allocted array question Pin
kitty528-Jul-06 2:26
kitty528-Jul-06 2:26 
AnswerRe: dynamically allocted array question Pin
Steen Krogsgaard28-Jul-06 1:39
Steen Krogsgaard28-Jul-06 1:39 
GeneralRe: dynamically allocted array question Pin
Cedric Moonen28-Jul-06 1:44
Cedric Moonen28-Jul-06 1:44 
Steen Krogsgaard wrote:
ReadFile will wait until it has read these bytes (assuming you don't use overlapped I/O, but that's another story),


Not necessarily. For example, using a serial port you can configure it with some specific timeouts and it often happens that the read function will time out before having read all the data. But of course, you can configure it with an infinite timeout also (and in that case, it will follow what you described).


Cédric Moonen
Software developer

Charting control

GeneralRe: dynamically allocted array question Pin
Steen Krogsgaard28-Jul-06 1:52
Steen Krogsgaard28-Jul-06 1:52 
GeneralRe: dynamically allocted array question Pin
Cedric Moonen28-Jul-06 1:55
Cedric Moonen28-Jul-06 1:55 
AnswerRe: dynamically allocted array question Pin
Zac Howland28-Jul-06 4:58
Zac Howland28-Jul-06 4:58 
QuestionList Control Help need it........................................ Pin
konstantinos_100028-Jul-06 1:08
konstantinos_100028-Jul-06 1:08 
AnswerRe: List Control Help need it........................................ Pin
Naveen28-Jul-06 1:29
Naveen28-Jul-06 1:29 
GeneralRe: List Control Help need it........................................ Pin
konstantinos_100028-Jul-06 5:22
konstantinos_100028-Jul-06 5:22 
GeneralRe: List Control Help need it........................................ Pin
Naveen28-Jul-06 18:47
Naveen28-Jul-06 18:47 
QuestionRe: List Control Help need it........................................ Pin
Hamid_RT28-Jul-06 1:50
Hamid_RT28-Jul-06 1:50 
AnswerRe: List Control Help need it........................................ Pin
konstantinos_100028-Jul-06 2:31
konstantinos_100028-Jul-06 2:31 
GeneralRe: List Control Help need it Pin
Hamid_RT28-Jul-06 3:41
Hamid_RT28-Jul-06 3:41 
GeneralRe: List Control Help need it Pin
konstantinos_100028-Jul-06 5:23
konstantinos_100028-Jul-06 5:23 
GeneralRe: List Control Help need it Pin
Hamid_RT28-Jul-06 6:11
Hamid_RT28-Jul-06 6:11 
QuestionSir, Windows allots 4 GB space for Proccess can you tell me Pin
CodeVarma28-Jul-06 0:42
CodeVarma28-Jul-06 0:42 
AnswerRe: Sir, Windows allots 4 GB space for Proccess can you tell me Pin
Jonathan [Darka]28-Jul-06 0:55
professionalJonathan [Darka]28-Jul-06 0:55 
Questionprogrammatic gamma correction for dual monitors Pin
srboisvert28-Jul-06 0:42
srboisvert28-Jul-06 0:42 
AnswerRe: programmatic gamma correction for dual monitors Pin
Blake Miller1-Aug-06 12:56
Blake Miller1-Aug-06 12:56 
Questionquick network functionality ? Pin
ldsdbomber28-Jul-06 0:42
ldsdbomber28-Jul-06 0:42 

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.