Click here to Skip to main content
15,908,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionatomic file write Pin
Dave_12-Jan-09 5:00
Dave_12-Jan-09 5:00 
AnswerRe: atomic file write Pin
Rajasekharan Vengalil12-Jan-09 5:21
Rajasekharan Vengalil12-Jan-09 5:21 
Does each client get serviced on a separate thread by the server? If yes, you'll need to use some kind of synchronization object while writing to the file. A CRITICAL_SECTION might do nicely for you.

--
gleat
http://blogorama.nerdworks.in[^]
--

Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG


GeneralRe: atomic file write Pin
Dave_12-Jan-09 7:21
Dave_12-Jan-09 7:21 
GeneralRe: atomic file write Pin
Rajasekharan Vengalil12-Jan-09 7:29
Rajasekharan Vengalil12-Jan-09 7:29 
GeneralRe: atomic file write Pin
Dave_12-Jan-09 7:31
Dave_12-Jan-09 7:31 
GeneralRe: atomic file write Pin
Rajasekharan Vengalil12-Jan-09 9:11
Rajasekharan Vengalil12-Jan-09 9:11 
QuestionAgain New / Delete [modified] Pin
ptr_Electron12-Jan-09 2:33
ptr_Electron12-Jan-09 2:33 
GeneralAgain confusing formatting. Pin
Iain Clarke, Warrior Programmer12-Jan-09 2:50
Iain Clarke, Warrior Programmer12-Jan-09 2:50 
AnswerRe: Again New / Delete Pin
Iain Clarke, Warrior Programmer12-Jan-09 2:53
Iain Clarke, Warrior Programmer12-Jan-09 2:53 
GeneralRe: Again New / Delete Pin
CPallini13-Jan-09 0:15
mveCPallini13-Jan-09 0:15 
AnswerRe: Again New / Delete Pin
Maximilien12-Jan-09 3:12
Maximilien12-Jan-09 3:12 
AnswerRe: Again New / Delete Pin
Cedric Moonen12-Jan-09 3:23
Cedric Moonen12-Jan-09 3:23 
AnswerRe: Again New / Delete Pin
Rajesh R Subramanian12-Jan-09 5:29
professionalRajesh R Subramanian12-Jan-09 5:29 
QuestionGet the machine name of the mapped drive C++ Pin
raesa12-Jan-09 2:17
raesa12-Jan-09 2:17 
QuestionRe: Get the machine name of the mapped drive C++ Pin
David Crow12-Jan-09 3:00
David Crow12-Jan-09 3:00 
Answeroops Pin
Iain Clarke, Warrior Programmer12-Jan-09 3:03
Iain Clarke, Warrior Programmer12-Jan-09 3:03 
AnswerRe: Get the machine name of the mapped drive C++ Pin
raesa12-Jan-09 17:52
raesa12-Jan-09 17:52 
AnswerRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 3:04
Iain Clarke, Warrior Programmer12-Jan-09 3:04 
Answer[Message Deleted] Pin
Hamid_RT12-Jan-09 3:26
Hamid_RT12-Jan-09 3:26 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 4:03
Iain Clarke, Warrior Programmer12-Jan-09 4:03 
GeneralRe: Get the machine name of the mapped drive C++ Pin
David Crow12-Jan-09 4:25
David Crow12-Jan-09 4:25 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Hamid_RT12-Jan-09 5:12
Hamid_RT12-Jan-09 5:12 
JokeRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 5:23
Iain Clarke, Warrior Programmer12-Jan-09 5:23 
JokeRe: Get the machine name of the mapped drive C++ Pin
Rajesh R Subramanian12-Jan-09 5:31
professionalRajesh R Subramanian12-Jan-09 5:31 
GeneralRe: Get the machine name of the mapped drive C++ Pin
Iain Clarke, Warrior Programmer12-Jan-09 5:42
Iain Clarke, Warrior Programmer12-Jan-09 5: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.