🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FindWindow in different session in XP

#9536
From: Eugene Mayevski [SecureBlackbox]
Date: Wed, 30 Jun 2004 10:59
17 lines
1980 bytes
Remy Lebeau (TeamB) wrote:

>>Where did you read this?
> It is not read anywhere.  But think about it - a memory mapping is just a
> block of memory.  How do you intend to handle communications using just an
> arbitrary block of memory?

Not just easily, but extremely easily. Part of this shared block becomes 
a common variable which is accessed and changed using 
InterlockedIncrement() and similar APIs. The rest is used for data 
exchange. And you don't need mutexes and WaitFor* to do the exchange.

-- 
Eugene Mayevski
EldoS Corp., CTO
Networking and security solutions, development and consulting services
http://www.eldos.com
Technical Details
Message-ID: <40e29d4b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40DC8965.698A31F6@tomtec.com> <40dc945c$2@newsgroups.borland.com> <40E01817.DAEBAD67@tomtec.com> <40e0519c@newsgroups.borland.com> <40E05E24.A503C53A@tomtec.com> <40e06df1@newsgroups.borland.com> <40e16448@newsgroups.borland.com> <40e1a5af$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,21a49dd150875d21
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 30 Jun 2004 13:59:44 +0300
From: "Eugene Mayevski [SecureBlackbox]" <mayevski@eldos.org>
Organization: EldoS Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, ru, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: FindWindow in different session in XP
References: <40DC8965.698A31F6@tomtec.com> <40dc945c$2@newsgroups.borland.com> <40E01817.DAEBAD67@tomtec.com> <40e0519c@newsgroups.borland.com> <40E05E24.A503C53A@tomtec.com> <40e06df1@newsgroups.borland.com> <40e16448@newsgroups.borland.com> <40e1a5af$1@newsgroups.borland.com>
In-Reply-To: <40e1a5af$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 82.144.222.199
Message-ID: <40e29d4b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1088593227 82.144.222.199 (30 Jun 2004 04:00:27 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail