Article View: borland.public.cppbuilder.nativeapi
Article #4826Re: How to know if SetClipboardViewer() or ChangeClipboardChain() succeded?
From: Vladimir Stefanovic
Date: Fri, 25 Nov 2005 17:15
Date: Fri, 25 Nov 2005 17:15
15 lines
1368 bytes
1368 bytes
> What you do is as follows: > > a) Call SetLastError(0); > b) Call the function > c) If the result is null, then look at GetLastError() > d) If the result isn't zero, you had an error Thank you. I just thought of the same approach. -- Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<43874686$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43873d96@newsgroups.borland.com> <s7geo113qb3cl4uit6kvtghnfinlqmkfea@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dd1b0de06caf5174 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.nativeapi References: <43873d96@newsgroups.borland.com> <s7geo113qb3cl4uit6kvtghnfinlqmkfea@4ax.com> Subject: Re: How to know if SetClipboardViewer() or ChangeClipboardChain() succeded? Date: Fri, 25 Nov 2005 18:15:17 +0100 Lines: 17 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: 82.117.212.65 Message-ID: <43874686$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132938886 82.117.212.65 (25 Nov 2005 09:14:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail