🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10812

Same memory piece for 2 running applications?

#10812
From: Ramy
Date: Wed, 17 Mar 2004 07:08
17 lines
1360 bytes
Hi, 

I need to write 2 applications which runs at the same time on the
computer (Windows-2000) and share same piece of memory for 
exchanging data between each other (this piece of memory will
contain a matrix of 400 x 500 float numbers (or 'int' , i still 
don't know) so if for example one application change this matrix,
the anther application can take the matrix from the memory and 
use it, or display it for example...

How do i do that? how can i allocate same piece of memory the two
different applications can access and use (each one in it's turn)
??

Thanks very much,
Ramy
Technical Details
Message-ID: <4057f989$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e8102036f7e0120d,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-16 23:09:58 PST
From: "Ramy" <Ramy@none.org>
Sender: "Ramy" <Ramy@none.org>
Reply-To: "Ramy" <Ramy@none.org>
Subject: Same memory piece for 2 running applications?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.0.27.152     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4057f989$1@newsgroups.borland.com>
Date: 16 Mar 2004 23:08:57 -0800
X-Trace: newsgroups.borland.com 1079507337 207.105.83.66 (16 Mar 2004 23:08:57 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail