🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Interaction between applications...

#5938
From: Remy Lebeau (TeamB)
Date: Mon, 20 Jun 2005 20:56
21 lines
1756 bytes
"qyte" <gyte@vivodinet.gr> wrote in message
news:42b70c5f$1@newsgroups.borland.com...

> how then will i be able to recognise in the receiver that this
> message was sent by me or any other way?

That is what the dwData member of the COPYDATASTRUCT structure is for.  You
can place your own unique 32-bit identifier in that field.  When you receive
the message, check the value of the field before doing anything with the
data.  If the message is now yours, then pass it on to the default message
handler.

> is this a user-only message or is it used for other purposes as well?

The VCL uses that message internally for some of its own internal work,
which is why you should pass the message on for default handling if it is
not your own message.


Gambit
Technical Details
Message-ID: <42b72fe2$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!irazu.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42b6af1f$1@newsgroups.borland.com> <42b7007a$1@newsgroups.borland.com> <42b70c5f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4a04a7e9d3459dc4
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42b6af1f$1@newsgroups.borland.com> <42b7007a$1@newsgroups.borland.com> <42b70c5f$1@newsgroups.borland.com>
Subject: Re: Interaction between applications...
Date: Mon, 20 Jun 2005 13:56:59 -0700
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42b72fe2$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119301602 68.69.17.41 (20 Jun 2005 14:06:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!irazu.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail