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

Creating Global Shared Memory

Hello,
How can I create global shared memory (like Memory Maps) in VC# .Net

Any help or suggestions will be highly appreciated.

Regards
Sameer
Nov 16 '05 #1
2 16274
Hi Sameer,

"Sameer Motwani" <sa****@ac2.net> wrote in message
news:eN**************@TK2MSFTNGP10.phx.gbl...
Hello,
How can I create global shared memory (like Memory Maps) in VC# .Net

Any help or suggestions will be highly appreciated.


By using P/Invoke (DllImport).

Head over to http://www.pinvoke.net/ and search up CreateFile and fellows.

(Look up CreateFile etc. on MSDN for full documentation).

--
Lars Wilhelmsen
http://www.sral.org/
Software Engineer
Teleplan A/S, Norway
Nov 16 '05 #2
If you want memory mapped files specifically, there's a sample here:
http://www.winterdom.com/dev/dotnet/index.html
--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Sameer Motwani" <sa****@ac2.net> wrote in message
news:eN**************@TK2MSFTNGP10.phx.gbl...
Hello,
How can I create global shared memory (like Memory Maps) in VC# .Net

Any help or suggestions will be highly appreciated.

Regards
Sameer

Nov 16 '05 #3

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

Similar topics

4
by: Sims | last post by:
Hi, Just like phpBB i have a fairly large language section. For those of you who do not know it there is a global array variable $lang and it contains translations of many word used all over...
6
by: vishal | last post by:
hi vishal here. can anyone help me that how can i store the global variables for my web site. suppose i want to store the no. of users visited my site then what strategy should i use ????? ...
33
by: DFS | last post by:
An application I wrote has been deployed on Citrix, and the Citrix admin tells me all users run the same .mde file. There aren't a lot of concurrent users, but even 2 could be cause for concern. ...
41
by: Miguel Dias Moura | last post by:
Hello, I am working on an ASP.NET / VB page and I created a variable "query": Sub Page_Load(sender As Object, e As System.EventArgs) Dim query as String = String.Empty ... query =...
1
by: Ron | last post by:
Hello, I need to create/instantiate a global class library project so that 2 EXE's can write to the same class library form in the same instance of the class libary. I am thinking something...
12
by: NVergunst | last post by:
hello. First off, I am very new to dll coding (meaning tonight) and I need to be able to share a List<bool> and a List<double> between my main application and other applications that can interface...
9
by: Tony Proctor | last post by:
I need to create a process Singleton object for an ASP application, but I'm having some odd issues In my GLOBAL.ASA, I have an <OBJECTelement specifying the relevant ProgID with RUNAT=Server and...
11
by: eBob.com | last post by:
I have this nasty problem with Shared methods and what I think of as "global storage" - i.e. storage declared outside of any subroutines or functions. In the simple example below this "global"...
3
by: coderr | last post by:
hi folks, i have a simple question, I need a mechanism like Application State, a global variable in the memory which is shared by all clients and also i want to access it from a different PROCESS...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.