Article View: borland.public.cppbuilder.nativeapi
Article #639Re: Getting binary data from the clipboard
From: Remy Lebeau (TeamB)
Date: Tue, 12 Feb 2008 00:25
Date: Tue, 12 Feb 2008 00:25
22 lines
1915 bytes
1915 bytes
"Asger Joergensen" <junk@Asger-P.dk> wrote in message
news:MPG.221b003de228cd89989a60@newsgroups.borland.com...
> No doubt that You are right as usual, but 'cannot' might be a
> little strong in this case, since the code I posted compiles and
> run just fine in my BCB5.
It is a bug in the compiler. It should be issuing the following error
instead:
"E2459 VCL style classes must be constructed using operator new"
If you create a local variable of calling the method inlined, BCB5 will
issue the error correctly:
char Buf[200];
TClipboard cb; // <-- error
cb.GetTextBuf(Buf, 200);
Gambit
Technical Details
Message-ID:
<47b0e780$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47aceda1$1@newsgroups.borland.com> <MPG.221719ed59086717989a55@newsgroups.borland.com> <47ad5ffd@newsgroups.borland.com> <MPG.2217a0eb16f624a2989a58@newsgroups.borland.com> <47b098b3$1@newsgroups.borland.com> <MPG.221b003de228cd89989a60@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <47aceda1$1@newsgroups.borland.com> <MPG.221719ed59086717989a55@newsgroups.borland.com> <47ad5ffd@newsgroups.borland.com> <MPG.2217a0eb16f624a2989a58@newsgroups.borland.com> <47b098b3$1@newsgroups.borland.com> <MPG.221b003de228cd89989a60@newsgroups.borland.com> Subject: Re: Getting binary data from the clipboard Date: Mon, 11 Feb 2008 16:25:51 -0800 Lines: 24 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <47b0e780$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1202775936 207.178.157.90 (11 Feb 2008 16:25:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail