Click here to Skip to main content
15,881,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Modeless Onscreen Keyboard Pin
Chris Meech21-Jun-11 8:55
Chris Meech21-Jun-11 8:55 
GeneralRe: Modeless Onscreen Keyboard Pin
Rajesh R Subramanian21-Jun-11 9:40
professionalRajesh R Subramanian21-Jun-11 9:40 
GeneralRe: Modeless Onscreen Keyboard Pin
Chris Meech21-Jun-11 9:48
Chris Meech21-Jun-11 9:48 
GeneralRe: Modeless Onscreen Keyboard Pin
Rajesh R Subramanian21-Jun-11 9:53
professionalRajesh R Subramanian21-Jun-11 9:53 
AnswerRe: Modeless Onscreen Keyboard Pin
Rajesh R Subramanian21-Jun-11 9:52
professionalRajesh R Subramanian21-Jun-11 9:52 
QuestionRegarding Memory Mapped Pin
manju 321-Jun-11 2:52
manju 321-Jun-11 2:52 
AnswerRe: Regarding Memory Mapped Pin
«_Superman_»21-Jun-11 6:17
professional«_Superman_»21-Jun-11 6:17 
GeneralRe: Regarding Memory Mapped Pin
manju 323-Jun-11 2:39
manju 323-Jun-11 2:39 
Thanks a lot for the link given,it is very helpfull

If i want to write more then one value in one process.
How can i do it.

Presently now this is a msg i am writing into
Example
TCHAR szMsg[]=TEXT("Message from first process.");
CopyMemory((PVOID)pBuf, szMsg, (_tcslen(szMsg) * sizeof(TCHAR)));  

This is how i am writing the message to Memory.

How can i do it for more then one message(multiple values)
In process2.cpp
Same way can i read more then one value from the other process

hMapFile = OpenFileMapping(
                   FILE_MAP_ALL_ACCESS,   // read/write access
                   FALSE,                 // do not inherit the name
                   szName);   

 pBuf = (LPTSTR) MapViewOfFile(hMapFile, // handle to map object
               FILE_MAP_ALL_ACCESS,  // read/write permission
               0,                    
               0,                    
               BUF_SIZE);   

 MessageBox(NULL, pBuf, TEXT("Process2"), MB_OK);

Here i am reading the value from 1st process,how can i read multiple values

Thanks
Sharan
GeneralRe: Regarding Memory Mapped Pin
enhzflep23-Jun-11 11:06
enhzflep23-Jun-11 11:06 
GeneralRe: Regarding Memory Mapped Pin
manju 323-Jun-11 20:25
manju 323-Jun-11 20:25 
GeneralRe: Regarding Memory Mapped Pin
enhzflep23-Jun-11 21:12
enhzflep23-Jun-11 21:12 
GeneralRe: Regarding Memory Mapped Pin
manju 323-Jun-11 22:19
manju 323-Jun-11 22:19 
GeneralRe: Regarding Memory Mapped Pin
enhzflep24-Jun-11 0:12
enhzflep24-Jun-11 0:12 
GeneralRe: Regarding Memory Mapped Pin
manju 324-Jun-11 2:07
manju 324-Jun-11 2:07 
GeneralRe: Regarding Memory Mapped Pin
manju 32-Aug-11 19:49
manju 32-Aug-11 19:49 
Questionfp:precise vs. fp:strict performance Pin
Alex_GR21-Jun-11 2:37
Alex_GR21-Jun-11 2:37 
QuestionReceive a client event when file on web server is modified Pin
pscholl21-Jun-11 0:54
pscholl21-Jun-11 0:54 
AnswerRe: Receive a client event when file on web server is modified Pin
Mark Salsbery21-Jun-11 8:18
Mark Salsbery21-Jun-11 8:18 
GeneralRe: Receive a client event when file on web server is modified Pin
pscholl22-Jun-11 1:34
pscholl22-Jun-11 1:34 
GeneralRe: Receive a client event when file on web server is modified Pin
Mark Salsbery22-Jun-11 7:55
Mark Salsbery22-Jun-11 7:55 
QuestionSort the list of files available in a folder. Pin
lucky_122120-Jun-11 23:02
lucky_122120-Jun-11 23:02 
AnswerRe: Sort the list of files available in a folder. Pin
Cedric Moonen21-Jun-11 0:14
Cedric Moonen21-Jun-11 0:14 
AnswerRe: Sort the list of files available in a folder. Pin
Richard MacCutchan21-Jun-11 2:03
mveRichard MacCutchan21-Jun-11 2:03 
GeneralRe: Sort the list of files available in a folder. Pin
lucky_122121-Jun-11 2:10
lucky_122121-Jun-11 2:10 
GeneralRe: Sort the list of files available in a folder. Pin
Richard MacCutchan21-Jun-11 2:59
mveRichard MacCutchan21-Jun-11 2:59 

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.