Re: Creating 'Shared Memory' using MFC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You might try something like this

// Data shared between all mappings of this executable.
#pragma data_seg(".sdata")
LONG g_lUsageCount = -1;
#pragma data_seg()

--
Jonathan Wood
SoftCircuits
http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm

"SSRoy" <SSRoy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D80F019A-91FF-4B73-873C-3B3E1BCB3812@xxxxxxxxxxxxxxxx
Is there any way to create "Shared Memory" (for interprocess
communication/Data transfer etc) using MFC ?? If yes then how? Is there
any
Class/Function for that??

Please advice,

Regards
Sanjoy Sinharoy
HCL Technologies
India


.