Hi!
Do you know any way to share data between multiple application instances without buffering it in a file or a database (like a static class)
Thanks!
Hi!
Do you know any way to share data between multiple application instances without buffering it in a file or a database (like a static class)
Thanks!
Share data between multiple application instances
NBaig
Across process communication will require IPC, shared memory or an external component such as a file or database. A database is the easiest. Shared memory could be used for static data but you'll need to implement the logic because .NET doesn't support it. I believe I saw a sample floating around on the INet about it.
Michael Taylor - 1/17/07
http://p3net.mvps.org
Hari_pallava
yes.
daxu
Hi,
You can choose one of the following:
1) Remothing
2) Shared memory (unsafe).
3) Create a window service/com+ application to hold and supply the shared data
4) database/file/xml/exc..
my recommendation is 4 because it is the simplest one.
Hope this helps,
guy kolbis
MYVB
Thank you very much, but is it possible to trigger events via Remoting too
LogoC
Hi,
see this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1096398&SiteID=1 I created an example using remoting on how you can share data from the MSDN information on the IpcChannel. This should show you how it is done with remoting, the example is here: http://www.markdawson.org/software/windowsapplication2.zip
Mark.
TrevorW