用于查看内存的MFC控件 [英] MFC control for viewing memory

查看:82
本文介绍了用于查看内存的MFC控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个MFC只读编辑控件,用于查看给定长度的给定内存区域。最好是在ascii和hex中,尽管ascii也可以。有人知道这样的控制吗?我只是想使用只读的CEdit控件来节省为自己写这个
的时间。

I am looking for an MFC read-only edit-like control for viewing a given area of memory for a given length. preferably in both ascii and hex, although just ascii would also be fine. Anybody know of such a control ? I am just trying to save the time of writing this for myself using a read-only CEdit control.

推荐答案

嗨eldiener,

Hi eldiener,

感谢您在此处发布。

>>我正在寻找一个MFC只读编辑控件来查看给定区域对于给定长度的内存

我担心MFC中没有这样的控件。以下是MFC中的所有控件,您可以参考。

I'm afraid there has no such a control in MFC. Here are all the controls in MFC, you could refer to.

https://msdn.microsoft.com/en-us/library/47xcww9x.aspx

在我看来,你可以使用像数组这样的变量来获取内存来自现有地址和长度的价值。并使用CEdit控件或其他控件来显示它。如果您可以具体说明您的要求,也许我们可以为您生成
的演示代码。

In my opinion, you could use the variables like arrays to get the memory value from the existed address and length. And use CEdit control or other controls to display it. If you could specific your requirement, maybe we could make a demo code for you.

希望这可以为您提供帮助。

Hope this could be help of you.

最好的问候,

Sera Yu


这篇关于用于查看内存的MFC控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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