Shared Memory?

P

Pramod

Please let me know if we can use Shared Memory in dot net? and what is
the difference between IPC Channel and Shared Memory? Does IPC Channel
uses named pipes/shared memory?

Thanks in advance.

-PC CC
 
I

Ignacio Machin ( .NET/ C# MVP )

Please let me know if we can use Shared Memory in dot net? and what is
the difference between IPC Channel and Shared Memory? Does IPC Channel
uses named pipes/shared memory?

Thanks in advance.

-PC CC

What you want to do?
You could use shared memory but you will have to pinvoke and marshall
it.
In .et you can use other ways to share data between instances, take a
look at remoting
 
A

Arne Vajhøj

Pramod said:
Please let me know if we can use Shared Memory in dot net? and what is
the difference between IPC Channel and Shared Memory? Does IPC Channel
uses named pipes/shared memory?

DllImport: CreateFileMapping, MapViewOfFile, UnmapViewOfFile,
CloseHandle - and Marshal.Copy to move data in and out.

Arne
 

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

Top