473,218 Members | 1,826 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,218 software developers and data experts.

Shared Memory

Hi there
Is there a way in .NET to do shared memories between applications running on
the same machine?

Thanks
Jul 23 '05 #1
5 4813
You can use interop to access the NT shared memory API.

"CristianMori"
<REMOVEcristian.mori@NO_SPAM_PLEASEtechint.itREMOV E_THIS_ALSO> wrote in
message news:7A**********************************@microsof t.com...
Hi there
Is there a way in .NET to do shared memories between applications running
on
the same machine?

Thanks

Jul 24 '05 #2
I don't want to use any interop. I would like just to use .NET native
methods...

"David Levine" wrote:
You can use interop to access the NT shared memory API.

"CristianMori"
<REMOVEcristian.mori@NO_SPAM_PLEASEtechint.itREMOV E_THIS_ALSO> wrote in
message news:7A**********************************@microsof t.com...
Hi there
Is there a way in .NET to do shared memories between applications running
on
the same machine?

Thanks


Jul 24 '05 #3
Hi,

You cannot do this without using interop... (behind all of this you must
call some win32 api functions)..

See: http://www.habjansoftware.com/ipc_library.aspx

Regards,
Josip Habjan
http://www.habjansoftware.com
"MoriCristian" <Mo**********@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
I don't want to use any interop. I would like just to use .NET native
methods...

"David Levine" wrote:
You can use interop to access the NT shared memory API.

"CristianMori"
<REMOVEcristian.mori@NO_SPAM_PLEASEtechint.itREMOV E_THIS_ALSO> wrote in
message news:7A**********************************@microsof t.com...
> Hi there
> Is there a way in .NET to do shared memories between applications
> running
> on
> the same machine?
>
> Thanks


Jul 24 '05 #4
I Do not ereqjuire to use real shared memoryes... i just need to share the
same instance of a class between several process. I tryed something with
remoting using a tcp channel but it is far too slow.
Is there a way, using remoting, to share a class instance in a fast (very
fast if possible) way?

Thanks

"Josip Habjan" wrote:
Hi,

You cannot do this without using interop... (behind all of this you must
call some win32 api functions)..

See: http://www.habjansoftware.com/ipc_library.aspx

Regards,
Josip Habjan
http://www.habjansoftware.com
"MoriCristian" <Mo**********@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
I don't want to use any interop. I would like just to use .NET native
methods...

"David Levine" wrote:
You can use interop to access the NT shared memory API.

"CristianMori"
<REMOVEcristian.mori@NO_SPAM_PLEASEtechint.itREMOV E_THIS_ALSO> wrote in
message news:7A**********************************@microsof t.com...
> Hi there
> Is there a way in .NET to do shared memories between applications
> running
> on
> the same machine?
>
> Thanks


Jul 24 '05 #5
May I suggest you examine Persistore from Morantex.

This is a very functional managed library that provides great support for true shared memory, shared variables (and arrays) as well as object persistence.

It supports 32-bit and 64-bit Windows, the latter means you can share vast amounts of data.

see: http://www.morantex.com/Persistore.aspx



I Do not ereqjuire to use real shared memoryes... i just need to share the
same instance of a class between several process. I tryed something with
remoting using a tcp channel but it is far too slow.
Is there a way, using remoting, to share a class instance in a fast (very
fast if possible) way?

Thanks

"Josip Habjan" wrote:
[color=blue]
> Hi,
>
> You cannot do this without using interop... (behind all of this you must
> call some win32 api functions)..
>
> See: http://www.habjansoftware.com/ipc_library.aspx
>
> Regards,
> Josip Habjan
> http://www.habjansoftware.com
>
>
> "MoriCristian" <MoriCristian@discussions.microsoft.com> wrote in message
> news:AF375BFA-39FD-4CB9-8221-7845DE3F88FB@microsoft.com...[color=green]
> >I don't want to use any interop. I would like just to use .NET native
> > methods...
> >
> > "David Levine" wrote:
> >[color=darkred]
> >> You can use interop to access the NT shared memory API.
> >>
> >> "CristianMori"
> >> <REMOVEcristian.mori@NO_SPAM_PLEASEtechint.itREMOV E_THIS_ALSO> wrote in
> >> message news:7AEB1F0D-57F3-4463-AAD8-9933DAF654D1@microsoft.com...
> >> > Hi there
> >> > Is there a way in .NET to do shared memories between applications
> >> > running
> >> > on
> >> > the same machine?
> >> >
> >> > Thanks
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
May 6 '06 #6

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

Similar topics

0
by: Srijit Kumar Bhadra | last post by:
Hello, Here is some sample code with pywin32 build 203 and ctypes 0.9.6. Best regards, /Srijit File: SharedMemCreate_Mutex_win32all.py # This application should be used with...
3
by: alanrn | last post by:
I would like to start a dialog on how to implement the equivalent functionality of UNIX shared memory in .NET. I work with a factory automation system. The bulk of the system is written in C/C++....
11
by: Michael Schuler | last post by:
The use of STL in shared memory poses a real problem since (non-smart) pointers are not allowed there. Is there any solution for containers in shared memory using smart pointers? Where can I...
1
by: myren, lord | last post by:
When I first discovered shared memory (between multiple processes) I immediately started thinking of how to build my own VM subsystem + locking mechanisms for a large single block of memory. This...
14
by: phil_gg04 | last post by:
Dear C++ Experts, Over the last couple of months I have been writing my first program using shared memory. It has been something of an "in-at-the-deep-end" experience, to say the least. At...
12
by: Jeremy | last post by:
Hi all, I'm getting very confused about how DB2 uses shared memory and I wonder if someone could clarify matters for me, please ? We are running 32bit DB2 V7.2 FP9 under AIX 4.3.3 on a machine...
5
by: Jim | last post by:
Hello, I have a broken server that we are going to be moving off to a new server with a new version of DB2 but here is what I have right now: RedHat 7.0 (2.2.24smp) DB2 v6.1.0.40 I am...
4
by: herbert | last post by:
I am coding a dozen "background" realtime apps for factory automation in .NET 2.0. The apps need to share a common memory as there are lots of variables to be shared (and synchronized of...
21
by: llothar | last post by:
Hello, i need to manage a heap in shared memory. Does anybody know about a portable (win32+mac+posix) c implementation for this.
5
by: Sune | last post by:
Hi all, I want to make data stored in-memory (not disk) available to several processes. My concern is that poorly written C applications with dangling pointers may(will) damage the data in this...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.