Google グループは Usenet の新規の投稿と購読のサポートを終了しました。過去のコンテンツは引き続き閲覧できます。
Dismiss

PWideChar and String

閲覧: 18 回
最初の未読メッセージにスキップ

R. L. Alan Jordan

未読、
2001/11/08 12:26:262001/11/08
To:
How do I allocate a variable of type PWideChar to a variable of type string?

PwdCh : PWideChar
Str : String;
.

Alexander Myachin

未読、
2001/11/08 12:44:582001/11/08
To:

"R. L. Alan Jordan" <ajo...@delta-eng.com> wrote in message
news:3beabfbd$1_2@dnews...
wStr: Widestring;

wStr := str;
PwdCh := PWideChar(wStr);


Rudy Velthuis (TeamB)

未読、
2001/11/08 14:51:262001/11/08
To:
In article <3beac2a1$1_1@dnews>, Alexander Myachin says...

And the other way around (which is, if I read it correctly, the question
<g>):

wStr := PwdCh;
Str := wStr;

--
Rudy Velthuis (TeamB)

R. L. Alan Jordan

未読、
2001/11/09 8:23:122001/11/09
To:
I forgot to say I am still using Delphi 2. Which version was this
implemented in? This will not compile.
"Alexander Myachin" <a_mi...@hotmail.com> wrote in message
news:3beac2a1$1_1@dnews...

Rudy Velthuis (TeamB)

未読、
2001/11/09 16:35:152001/11/09
To:
In article <3bebd838_2@dnews>, R. L. Alan Jordan says...

> I forgot to say I am still using Delphi 2. Which version was this
> implemented in? This will not compile.

In D2, you'll probably have to use Windows API conversion routines.
--
Rudy Velthuis (TeamB)

R. L. Alan Jordan

未読、
2001/11/09 18:17:052001/11/09
To:
Can you direct me to the help on this?
"Rudy Velthuis (TeamB)" <rvel...@gmx.de> wrote in message
news:MPG.16566a7a9...@newsgroups.borland.com...

Rudy Velthuis (TeamB)

未読、
2001/11/09 18:32:472001/11/09
To:
In article <3bec6367$1_2@dnews>, R. L. Alan Jordan says...

> Can you direct me to the help on this?

Look at WideCharToMultiByte() in the Win32 SDK help that comes with
Delphi.
--
Rudy Velthuis (TeamB)

新着メール 0 件