🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: COPYDATASTRUCT problem

#4246
From: Dennis Jones
Date: Sun, 26 Feb 2006 00:25
25 lines
2029 bytes
"Nate Lockwood" <RNLockwoodREMOVE@attglobal.net> wrote in message
news:4400e10b$1@newsgroups.borland.com...
> I send a message to a already running application from one that has just
> been started.  This works just fine AFAIK except when I try to get to
> the LParam.  Eventually I expect to retrieve a char string. I get this
> error:
>
> [C++ Error] Main.cpp(171): E2316 'WParam' is not a member of 'tagMSG'

Read the help.  Or look at the header file (winuser.h) where tagMSG is
declared.  You will see that the members are 'wParam' and 'lParam' (note the
lower-case 'W' and 'L').

> I'm perplexed since I got this line from another post by a TeamB member.

TeamB members aren't perfect -- they make mistakes just like the rest of us
mortals.  So just because you got something from a TeamB member doesn't
necessarily mean it's accurate.  Many times people here answer questions
with pseudo-code or don't bother testing what they use as an example.  So
you should always do a little extra research after you receive some sample
code to make sure that it correctly applies to your situation and/or that is
written correctly.

- Dennis
Technical Details
Message-ID: <4400f58a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4400e10b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,360125feb01249da
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Dennis Jones" <nospam@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4400e10b$1@newsgroups.borland.com>
Subject: Re: COPYDATASTRUCT problem
Date: Sat, 25 Feb 2006 16:25:47 -0800
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 204.200.27.7
Message-ID: <4400f58a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1140913546 204.200.27.7 (25 Feb 2006 16:25:46 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail