🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SendMessage BCB 6.0

#11170
From: Remy Lebeau (TeamB)
Date: Tue, 24 Feb 2004 22:04
18 lines
1666 bytes
"Matt" <matt@tek-pc.com> wrote in message
news:403bb04e$1@newsgroups.borland.com...

>     SendMessageA(rich, WM_GETTEXT, getTrim, (LPARAM)trimSpace);

How EXACTLY is trimSpace declared?  You say it is a string.  Is that an
AnsiString?  If so, then you have the same problem that you have earlier,
and you fix it the same way as before - use the string's c_str() method:

    SendMessageA(rich, WM_GETTEXT, getTrim, (LPARAM)trimSpace.c_str());

If that is not what you are referring to, then you need to provide more
details about what EXACTLY you are having a problem with.  This is a C++
group, not a VB, so please ask questions regarding C++, not VB.


Gambit
Technical Details
Message-ID: <403bc866$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <403a1118$1@newsgroups.borland.com> <403a2ab4@newsgroups.borland.com> <403bb04e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,873d1353349458d0
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-24 14:10:27 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <403a1118$1@newsgroups.borland.com> <403a2ab4@newsgroups.borland.com> <403bb04e$1@newsgroups.borland.com>
Subject: Re: SendMessage BCB 6.0
Date: Tue, 24 Feb 2004 14:04:02 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <403bc866$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077659750 67.22.138.253 (24 Feb 2004 13:55:50 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail