471,339 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 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 4694
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Srijit Kumar Bhadra | last post: by
3 posts views Thread by alanrn | last post: by
11 posts views Thread by Michael Schuler | last post: by
1 post views Thread by myren, lord | last post: by
14 posts views Thread by phil_gg04 | last post: by
12 posts views Thread by Jeremy | last post: by
5 posts views Thread by Jim | last post: by
21 posts views Thread by llothar | last post: by
reply views Thread by rosydwin | last post: by

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.