🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Getting binary data from the clipboard

#619
From: Asger Joergensen
Date: Sat, 09 Feb 2008 10:49
19 lines
1420 bytes
Hi Asger
 
 Asger Joergensen says:
> 
> Have You tried pasting the data into notepad or the BCB editor
> it might be in a text format.
> 
> if so this should work:
> 
> char Buf[200];
> TClipboard().GetTextBuf(Buf, 200);

if it is text this is easier:

String Txt = TClipboard().AsText;

Kind regards
Asger
Technical Details
Message-ID: <MPG.2217a39123e143a8989a59@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47aceda1$1@newsgroups.borland.com> <MPG.221719ed59086717989a55@newsgroups.borland.com> <47ad5ffd@newsgroups.borland.com> <MPG.2217a0eb16f624a2989a58@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c5ac8670671c8a0e
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Asger Joergensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Getting binary data from the clipboard
Date: Sat, 9 Feb 2008 11:49:10 +0100
Message-ID: <MPG.2217a39123e143a8989a59@newsgroups.borland.com>
References: <47aceda1$1@newsgroups.borland.com> <MPG.221719ed59086717989a55@newsgroups.borland.com> <47ad5ffd@newsgroups.borland.com> <MPG.2217a0eb16f624a2989a58@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.220.89
X-Trace: newsgroups.borland.com 1202554147 83.73.220.89 (9 Feb 2008 02:49:07 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail