🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Clipbored and Unicode

#1952
From: Remy Lebeau (TeamB)
Date: Mon, 14 May 2007 17:14
24 lines
1735 bytes
"Jos�" <jose@127.0.0.1> wrote in message
news:va0h43tjrindd9a4jt1p4c10kkl5mi2bgg@4ax.com...

> CF_UNICODETEXT is not in the help file, so how was I to know?

You probably didn't read Microsoft's documentation, only Borland's.

> It is accepted though, and it works with wchar_t. However, there
> are more than a million Unicode characters, which means that
> wchar_t, which is only 16 bits, is insufficient.

I'm guessing that you haven't read up on how Unicode actually works,
correct?  It is more than sufficient for all of the world's current
languages, with room to spare.

> The 2nd parameter of SetAsHandle must be an int, so your
> example doesn't work. I can write (int)h, but this write unexpected
> stuff to the clipboard.

Bob's example was for Ansi, not Unicode.  See my other reply.


Gambit
Technical Details
Message-ID: <46489a9a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <qdde43trid2dep05rjl9pu2k2ohufnguf1@4ax.com> <nqaf43pcont3pe8bdgburrnitj9jiinr68@4ax.com> <va0h43tjrindd9a4jt1p4c10kkl5mi2bgg@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eee29c0be9200ce9
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <qdde43trid2dep05rjl9pu2k2ohufnguf1@4ax.com> <nqaf43pcont3pe8bdgburrnitj9jiinr68@4ax.com> <va0h43tjrindd9a4jt1p4c10kkl5mi2bgg@4ax.com>
Subject: Re: Clipbored and Unicode
Date: Mon, 14 May 2007 10:14:24 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.82.60.244
Message-ID: <46489a9a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1179163290 75.82.60.244 (14 May 2007 10:21:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail