你如何显示DWORD&编辑框中的字符串 [英] How do you display DWORD & strings in an Edit Box

查看:55
本文介绍了你如何显示DWORD&编辑框中的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的应用程序中有一个编辑框,显示函数执行的结果

作为字符串。

但是有些函数返回驱动程序属性的结果,这是DWORD格式的



有没有办法将DWORD转换为字符串,以便它显示在编辑框中?


干杯。

凯文。

解决方案

Xanax写道:

大家好,
我有一个编辑框


标准C ++中没有这样的东西。

in my应用程序将函数执行结果显示为字符串。
但是某些函数会返回驱动程序属性的结果,这些属性是以DWORD格式显示的。


标准C ++中没有这样的东西。

有没有办法将DWORD转换为字符串,以便它显示在编辑框中?




对标准C ++而言,这一切都没有意义。


您似乎忘了在发布之前阅读欢迎信息。

http://www.slack.net/~shiva/ welcome.txt


-Kevin

-

我的电子邮件地址有效,但会定期更改。

要联系我,请使用最近发布的地址。


OK我说的是VC ++

" Kevin Goodsell" <我们********************* @ neverbox.com>在消息中写道

新闻:Ll **************** @ newsread4.news.pas.earthli nk.net ...

Xanax写道:

大家好,
我有一个编辑框
标准C ++中没有这样的东西。

在我的应用程序中显示函数执行的结果
作为字符串。
但是一些函数返回驱动程序属性的结果,
是DWORD格式。



在标准C ++中没有这样的东西。

有没有办法将DWORD转换为字符串,以便它显示在编辑



盒子?
这些对于标准C ++来说都没有意义。

您似乎忘记在发布之前阅读欢迎信息。

http://www.slack.net/~shiva/welcome。 txt

-Kevin
-
我的电子邮件地址是val id,但定期更改。
要联系我,请使用最近发布的地址。



Kevin Doyle写道:
< blockquote class =post_quotes> OK我说的是VC ++




请不要发帖。重新阅读常见问题解答第5部分,发布

指南。你似乎第一次错过了一些积分。

你可能也对RFC 1855的第3部分感兴趣,它涉及

网络礼节。

http://www.parashift.com/c++-faq-lite /
http://www.dtcc.edu /cs/rfc1855.html


由于

欢迎消息中解释的原因,VC ++不在此组中。 我猜你还没有读过。

请在再次发布之前阅读。

http://www.slack.net/~shiva/welcome.txt


- 凯文

-

我的电子邮件地址有效,但会定期更改。

要联系我,请使用最近发布的地址。


Hi all,
I have an edit box in my app displaying the results of function executions
as strings.
But some of the functions return the result of driver properties, which are
in DWORD format.
Is there a way to oncert DWORD to String so it will display in the edit box?

Cheers.
Kevin.

解决方案

Xanax wrote:

Hi all,
I have an edit box
No such thing in standard C++.
in my app displaying the results of function executions
as strings.
But some of the functions return the result of driver properties, which are
in DWORD format.
No such thing in standard C++.
Is there a way to oncert DWORD to String so it will display in the edit box?



None of this is meaningful with respect to standard C++.

It seems you forgot to read the welcome message before posting.

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.


OK I''m talking about VC++
"Kevin Goodsell" <us*********************@neverbox.com> wrote in message
news:Ll****************@newsread4.news.pas.earthli nk.net...

Xanax wrote:

Hi all,
I have an edit box
No such thing in standard C++.

in my app displaying the results of function executions
as strings.
But some of the functions return the result of driver properties, which are in DWORD format.



No such thing in standard C++.

Is there a way to oncert DWORD to String so it will display in the edit


box?
None of this is meaningful with respect to standard C++.

It seems you forgot to read the welcome message before posting.

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.



Kevin Doyle wrote:

OK I''m talking about VC++



Please don''t top-post. Re-read section 5 of the FAQ for posting
guidelines. You seem to have missed some points the first time around.
You might also be interested in section 3 of RFC 1855 which deals with
Netiquette.

http://www.parashift.com/c++-faq-lite/
http://www.dtcc.edu/cs/rfc1855.html

VC++ is off topic in this group, for reasons that are explained in the
welcome message, which I''m guessing you have still failed to read.
Please read it before posting again.

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.


这篇关于你如何显示DWORD&amp;编辑框中的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆