🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Interaction between applications...

#5881
From: Segal
Date: Wed, 22 Jun 2005 23:54
30 lines
2214 bytes
Remy Lebeau (TeamB) wrote:
> "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.

Here you say pass it along to the default handler if the message IS 
yours...

>> 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.

Her you say to od so if it IS NOT yours.

Just thought some people might want a little clarification.

I'm guessing that you only want to pass it to the default handler if 
it's NOT yours, so you can handle it your self, else pass it along.

Please corrrect me if I'm mistaken.
Technical Details
Message-ID: <42b9fa40@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b6af1f$1@newsgroups.borland.com> <42b7007a$1@newsgroups.borland.com> <42b70c5f$1@newsgroups.borland.com> <42b72fe2$3@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: "Segal" <none@none.spam.sucks.balls>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42b6af1f$1@newsgroups.borland.com> <42b7007a$1@newsgroups.borland.com> <42b70c5f$1@newsgroups.borland.com> <42b72fe2$3@newsgroups.borland.com>
Subject: Re: Interaction between applications...
Date: Wed, 22 Jun 2005 16:54:30 -0700
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.234.219.101
Message-ID: <42b9fa40@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119484480 66.234.219.101 (22 Jun 2005 16:54:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail