How to create shared memory ?

  • Thread starter Sandeep Chikkerur
  • Start date
S

Sandeep Chikkerur

HI,

I am writing a an ATL COM component (a "dll" file).
This file calls an executable. That executable is created from the "C" language.
(Compiled on Windows platform. Using Microsoft Visual Studio to write the "C" code)

This executable has to share some data with the dll. So, the shared memory
is the best solution. But I don't know how to create a shared memory in "C".

Any inputs on this would be of great help

Thanks
Sandeep
 
K

Keith Thompson

This executable has to share some data with the dll. So, the shared memory
is the best solution. But I don't know how to create a shared memory in "C".

Sorry, neither do we. Try a Windows-specific newsgroup.
 
N

Neil Ferguson

Keith Thompson said:
"C".

Sorry, neither do we. Try a Windows-specific newsgroup.
San Diego Supercomputer Center <*>
We must do something. This is something. Therefore, we must do this.

And when you get there, check into memory mapped files. They might do the
job for you.

Neil Ferguson
 
C

CBFalconer

Neil said:
Keith Thompson said:
(e-mail address removed) (Sandeep Chikkerur) writes:
[...]
This executable has to share some data with the dll. So, the
shared memory is the best solution. But I don't know how to
create a shared memory in "C".

Sorry, neither do we. Try a Windows-specific newsgroup.

We must do something. This is something. Therefore, we must
do this.

And when you get there, check into memory mapped files. They
might do the job for you.

Please point out where memory mapped files, or dlls, are mentioned
in the C standard. I.e. kindly don't post off-topic answers to
off-topic queries in c.l.c.
 
M

Mark McIntyre

Please point out where memory mapped files, or dlls, are mentioned
in the C standard. I.e. kindly don't post off-topic answers to
off-topic queries in c.l.c.

To be fair to Neil, he wasn't, any more than many other people, including
you and I from time to time, who might say "hop over to wherever and be
sure to mention blabla"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,148
Messages
2,570,834
Members
47,380
Latest member
AlinaBlevi

Latest Threads

Top