Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linked List nodes don't recognise "Tile" (data) class. Pin
Cedric Moonen27-Jul-08 8:50
Cedric Moonen27-Jul-08 8:50 
GeneralRe: Linked List nodes don't recognise "Tile" (data) class. Pin
Sauce!27-Jul-08 15:46
Sauce!27-Jul-08 15:46 
QuestionTrouble with Releaser Version - Double selections in List Control = DOES NOT happen in Debug version Pin
Larry Mills Sr26-Jul-08 15:46
Larry Mills Sr26-Jul-08 15:46 
AnswerRe: Trouble with Releaser Version - Double selections in List Control = DOES NOT happen in Debug version Pin
Luc Pattyn26-Jul-08 16:05
sitebuilderLuc Pattyn26-Jul-08 16:05 
GeneralRe: Trouble with Releaser Version - Double selections in List Control = DOES NOT happen in Debug version Pin
Larry Mills Sr28-Jul-08 10:04
Larry Mills Sr28-Jul-08 10:04 
GeneralRe: Trouble with Releaser Version - Double selections in List Control = DOES NOT happen in Debug version Pin
Luc Pattyn28-Jul-08 10:17
sitebuilderLuc Pattyn28-Jul-08 10:17 
GeneralRe: Trouble with Releaser Version - Double selections in List Control = DOES NOT happen in Debug version Pin
Larry Mills Sr30-Jul-08 2:31
Larry Mills Sr30-Jul-08 2:31 
QuestionIs that sharing "memory" or sharing "file"? Pin
sawerr25-Jul-08 23:56
sawerr25-Jul-08 23:56 
Is using CreateFileMapping/MapViewOfFile functions means sharing "Memory" or "File" on the disk?

I compiled that code for both

-INVALID_HANDLE_VALUE, // use paging file (that is on the disk)
and
-"C:\\a.txt" //physical file too.

All of them works. And second process can show "Message from first process".

The second process calls:

1-) OpenFileMapping to get handle

2-) MapViewOfFile.

What is happening here?

Does
second process get handle to physical "file" which is on the disk and get "Message from first process" string which is written by first process to file.

or
Second process get handle to first process' physical "memory" and get string from its address space?

Are they communicating with writing/reading same file(pagefile or another file) on the disk or same memory?

Msdn Documentation which is about procedure for sharing data with CreateFileMapping/MapViewOfFile/OpenFileMapping is confused me.
Thanks.
AnswerRe: Is that sharing "memory" or sharing "file"? Pin
Luc Pattyn26-Jul-08 3:23
sitebuilderLuc Pattyn26-Jul-08 3:23 
AnswerRe: Is that sharing "memory" or sharing "file"? Pin
gayatri.neelema27-Jul-08 1:21
gayatri.neelema27-Jul-08 1:21 
Questionchanging device context. Pin
sanjutvm25-Jul-08 20:15
sanjutvm25-Jul-08 20:15 
AnswerRe: changing device context. Pin
CPallini25-Jul-08 21:37
mveCPallini25-Jul-08 21:37 
QuestionTreeCtrl with checkbox. Pin
Le@rner25-Jul-08 19:05
Le@rner25-Jul-08 19:05 
AnswerRe: TreeCtrl with checkbox. Pin
kDevloper25-Jul-08 20:04
kDevloper25-Jul-08 20:04 
GeneralRe: TreeCtrl with checkbox. Pin
Le@rner25-Jul-08 20:30
Le@rner25-Jul-08 20:30 
Questionhow check which dialog is selected Pin
ani_ikram25-Jul-08 16:36
ani_ikram25-Jul-08 16:36 
AnswerRe: how check which dialog is selected Pin
kDevloper25-Jul-08 18:58
kDevloper25-Jul-08 18:58 
QuestionSetting Environment Variables Pin
Bram van Kampen25-Jul-08 16:16
Bram van Kampen25-Jul-08 16:16 
AnswerRe: Setting Environment Variables Pin
Ștefan-Mihai MOGA25-Jul-08 18:42
professionalȘtefan-Mihai MOGA25-Jul-08 18:42 
AnswerRe: Setting Environment Variables Pin
Mark Salsbery26-Jul-08 5:57
Mark Salsbery26-Jul-08 5:57 
GeneralRe: Setting Environment Variables Pin
Bram van Kampen26-Jul-08 17:07
Bram van Kampen26-Jul-08 17:07 
QuestionCan ADO process excel well? [modified] Pin
followait25-Jul-08 16:14
followait25-Jul-08 16:14 
AnswerRe: Can ADO process excel well? Pin
Ștefan-Mihai MOGA25-Jul-08 18:48
professionalȘtefan-Mihai MOGA25-Jul-08 18:48 
Questionan alternative to StrToInt64Ex() Pin
reteset25-Jul-08 8:38
reteset25-Jul-08 8:38 
AnswerRe: an alternative to StrToInt64Ex() Pin
Mark Salsbery25-Jul-08 9:02
Mark Salsbery25-Jul-08 9:02 

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.