using windows api functions
Stewart Gordon
smjg_1998 at yahoo.com
Wed May 2 12:08:50 PDT 2007
"yidabu" <yidabu.nospam at gmail.com> wrote in message
news:f19qlq$27gh$1 at digitalmars.com...
<snip>
> you can call any window api like this:
> import std.c.windows.windows; //for WinExec
> import std.windows.charset; //for toMBSz
Where do you get that idea from? Firstly, only a tiny subset of Windows API
functions are in std.c.windows.windows. Secondly, the functions in
std.windows.charset aren't part of the Windows API at all.
> void main()
> {
> // bbs.yidabu.com 注toMBSz函数是为了生成null结尾字符串
Oh dear. It would appear that the web interface is no good at letting you
use non-ASCII characters. At the moment I can't figure out what character
encoding that was _meant_ to be!
Stewart.
More information about the Digitalmars-d-learn
mailing list