Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTell me about the c programming languages Pin
Member 139375164-Aug-18 17:29
Member 139375164-Aug-18 17:29 
AnswerRe: Tell me about the c programming languages Pin
Victor Nijegorodov4-Aug-18 20:44
Victor Nijegorodov4-Aug-18 20:44 
AnswerRe: Tell me about the c programming languages Pin
jfbode10297-Aug-18 7:08
jfbode10297-Aug-18 7:08 
QuestionForward error correction in C-programming applied to non-streaming data? Pin
arnold_w4-Aug-18 19:23
arnold_w4-Aug-18 19:23 
AnswerRe: Forward error correction in C-programming applied to non-streaming data? Pin
leon de boer5-Aug-18 14:25
leon de boer5-Aug-18 14:25 
QuestionDid I Overlook Something, or is the LTCG Document Page Actually Outdated? Pin
David A. Gray4-Aug-18 11:32
David A. Gray4-Aug-18 11:32 
Questionhow to query a previous query Pin
piano00113-Aug-18 23:03
piano00113-Aug-18 23:03 
AnswerRe: how to query a previous query Pin
Victor Nijegorodov4-Aug-18 2:02
Victor Nijegorodov4-Aug-18 2:02 
QuestionCondition variable question Pin
samzcs3-Aug-18 7:31
samzcs3-Aug-18 7:31 
AnswerRe: Condition variable question Pin
Richard MacCutchan3-Aug-18 21:09
mveRichard MacCutchan3-Aug-18 21:09 
GeneralRe: Condition variable question Pin
focusdoit4-Aug-18 2:39
focusdoit4-Aug-18 2:39 
GeneralRe: Condition variable question Pin
Richard MacCutchan4-Aug-18 3:19
mveRichard MacCutchan4-Aug-18 3:19 
GeneralRe: Condition variable question Pin
focusdoit4-Aug-18 3:22
focusdoit4-Aug-18 3:22 
GeneralRe: Condition variable question Pin
Richard MacCutchan4-Aug-18 3:31
mveRichard MacCutchan4-Aug-18 3:31 
GeneralRe: Condition variable question Pin
focusdoit4-Aug-18 8:25
focusdoit4-Aug-18 8:25 
GeneralRe: Condition variable question Pin
Richard MacCutchan4-Aug-18 9:32
mveRichard MacCutchan4-Aug-18 9:32 
GeneralRe: Condition variable question Pin
focusdoit4-Aug-18 16:30
focusdoit4-Aug-18 16:30 
GeneralRe: Condition variable question Pin
Richard MacCutchan4-Aug-18 20:57
mveRichard MacCutchan4-Aug-18 20:57 
QuestionA Problem in Writing Shared Memory to windows from a C++ application Pin
D_code_writer2-Aug-18 5:00
D_code_writer2-Aug-18 5:00 
AnswerRe: A Problem in Writing Shared Memory to windows from a C++ application Pin
Richard Andrew x642-Aug-18 13:00
professionalRichard Andrew x642-Aug-18 13:00 
AnswerRe: A Problem in Writing Shared Memory to windows from a C++ application Pin
Richard Andrew x642-Aug-18 13:06
professionalRichard Andrew x642-Aug-18 13:06 
GeneralRe: A Problem in Writing Shared Memory to windows from a C++ application Pin
D_code_writer2-Aug-18 20:24
D_code_writer2-Aug-18 20:24 
Richard,

Many thanks for answering. My apologies I wrote this as pseudo code to try and save time. The declarations for those are,

HANDLE hmapFile;
unsigned char *mapFileBuffer;

They are at the beginning of each function. The joys of doing this at 1:00am!

Copy you on the declaration of the read function - leave that with me to sort out.

Apart from this is there any other reason you can see for this and particular the write function not working?

Many thanks in advance.
GeneralRe: A Problem in Writing Shared Memory to windows from a C++ application Pin
Richard Andrew x643-Aug-18 2:41
professionalRichard Andrew x643-Aug-18 2:41 
GeneralRe: A Problem in Writing Shared Memory to windows from a C++ application Pin
D_code_writer3-Aug-18 12:45
D_code_writer3-Aug-18 12:45 
GeneralRe: A Problem in Writing Shared Memory to windows from a C++ application Pin
Richard Andrew x643-Aug-18 13:44
professionalRichard Andrew x643-Aug-18 13:44 

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.