473,326 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How to handle Memory Mapped files with C#?

Is there any support for memory mapped files in the .Net framework? I have
an application that would be made much easier if I had an easy way to read
an existing memory mapped file generated by another application, and could
write another MMF back in response...

Any and all ideas welcomed.

Thanks in advance,

Joel
Nov 15 '05 #1
2 2843
AFAIK .NET has no support for MMF, so you can write managed wrapper around
win32 api for MMF with the help of P/Invoke

"Joel Foner" <jo********@fonerassoc.remove_me_to_reply.com> wrote in message
news:7_*******************@sea-read.news.verio.net...
Is there any support for memory mapped files in the .Net framework? I have
an application that would be made much easier if I had an easy way to read
an existing memory mapped file generated by another application, and could
write another MMF back in response...

Any and all ideas welcomed.

Thanks in advance,

Joel

Nov 15 '05 #2
On 27-Feb-2004, "Vadym Stetsyak" <pd****@ukr.net> wrote:
AFAIK .NET has no support for MMF, so you can write managed wrapper around
win32 api for MMF with the help of P/Invoke


Thanks.

Joel
Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Nolan | last post by:
Hi All, I have some software that currently loads database tables into sorted arrays in memory to be binary searched by processes. (Long story as to why it does this..) Each process must either...
4
by: Sandeep Chikkerur | last post by:
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...
7
by: ATS | last post by:
HOWTO Make a C# UserContol Memory Map to a C++/MFC/EXE Please help, I have a UserControl that I want to have "talk" to a C++/MFC/EXE program that is already running via a memory map. The...
3
by: James Aguilar | last post by:
Oh wise readers of comp.lang.python, Lend a newbie your ears. I have read several old articles from this group about memory mapping and interprocess communication and have Googled the sh** out...
9
by: Maxwell2006 | last post by:
Hi, Is there a concept of shared named memory in .NET to allow multiple program use the name and then set/retrieve values? Thank you, Alan
1
by: Carl Mackey | last post by:
hi, i'm new to this list and new to python as well. i have a question on the memory mapped file ability python has. when i use a mmap on a file, will it copy the whole thing to ram or just...
13
by: Samshayam | last post by:
I have come across the application of placement new in memory mapped i/o in a number of books.I am not able to understand it completely, may be becaues of my lack of knowledge with memory mapped...
1
by: PMarino | last post by:
I'm an old Win32 guy, so I may be completely off-base here, but is there any support for Memory-mapped files in C#? I'm actually trying to get around a limitation with Windows Authorization...
12
by: Clement | last post by:
Can i place variables or arrays in Disk instead of main memory........
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.