Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs there a easy way to move chunk of memory? Pin
transoft1-Jul-09 5:39
transoft1-Jul-09 5:39 
AnswerRe: Is there a easy way to move chunk of memory? Pin
led mike1-Jul-09 5:48
led mike1-Jul-09 5:48 
QuestionRe: Is there a easy way to move chunk of memory? Pin
CPallini1-Jul-09 7:38
mveCPallini1-Jul-09 7:38 
AnswerRe: Is there a easy way to move chunk of memory? Pin
Chris Losinger1-Jul-09 8:00
professionalChris Losinger1-Jul-09 8:00 
QuestionFile Sharing (not) Pin
Caslen1-Jul-09 5:02
Caslen1-Jul-09 5:02 
AnswerRe: File Sharing (not) Pin
David Crow1-Jul-09 5:26
David Crow1-Jul-09 5:26 
GeneralRe: File Sharing (not) Pin
Caslen1-Jul-09 5:33
Caslen1-Jul-09 5:33 
GeneralRe: File Sharing (not) Pin
Stuart Dootson1-Jul-09 6:12
professionalStuart Dootson1-Jul-09 6:12 
Caslen wrote:
Does it display a message indicating read only?


What is 'it'?

Anyway - don't do that, because you still have the problem of other users reading the file while you're writing to it (because file writes aren't atomic operations) and potentially getting an inconsistent view of the file. That's why you get 'single writer, multiple reader' locks for use with in-memory resources - the resource is locked exclusive while the writer's active, but otherwise, multiple people can read the resource concurrently.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: File Sharing (not) Pin
Caslen1-Jul-09 6:18
Caslen1-Jul-09 6:18 
GeneralRe: File Sharing (not) Pin
Stuart Dootson1-Jul-09 7:05
professionalStuart Dootson1-Jul-09 7:05 
GeneralRe: File Sharing (not) Pin
David Crow1-Jul-09 7:18
David Crow1-Jul-09 7:18 
GeneralRe: File Sharing (not) Pin
Caslen1-Jul-09 21:54
Caslen1-Jul-09 21:54 
GeneralRe: File Sharing (not) Pin
David Crow2-Jul-09 3:55
David Crow2-Jul-09 3:55 
GeneralRe: File Sharing (not) Pin
Caslen2-Jul-09 5:15
Caslen2-Jul-09 5:15 
QuestionRe: File Sharing (not) Pin
David Crow2-Jul-09 5:18
David Crow2-Jul-09 5:18 
AnswerRe: File Sharing (not) Pin
Caslen2-Jul-09 5:30
Caslen2-Jul-09 5:30 
GeneralRe: File Sharing (not) Pin
David Crow2-Jul-09 5:33
David Crow2-Jul-09 5:33 
QuestionClass Template in Visual C++ Pin
emira671-Jul-09 4:32
emira671-Jul-09 4:32 
AnswerRe: Class Template in Visual C++ Pin
led mike1-Jul-09 4:40
led mike1-Jul-09 4:40 
AnswerRe: Class Template in Visual C++ Pin
David Crow1-Jul-09 4:47
David Crow1-Jul-09 4:47 
AnswerRe: Class Template in Visual C++ Pin
Stuart Dootson1-Jul-09 4:58
professionalStuart Dootson1-Jul-09 4:58 
Questiondll function call in vc++2008 clr bse apllication Pin
PIYUSH19661-Jul-09 4:08
PIYUSH19661-Jul-09 4:08 
QuestionRe: dll function call in vc++2008 clr bse apllication Pin
led mike1-Jul-09 4:35
led mike1-Jul-09 4:35 
QuestionDownload from Rapidshare! Pin
Hadi Dayvary1-Jul-09 3:49
professionalHadi Dayvary1-Jul-09 3:49 
QuestionMFC CSocket class! Pin
Hadi Dayvary1-Jul-09 3:47
professionalHadi Dayvary1-Jul-09 3:47 

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.