炫彩界面库论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 1865|回复: 0

XEdit_GetText问题

[复制链接]

该用户从未签到

发表于 2013-8-16 17:22:34 | 显示全部楼层 |阅读模式
请我 我有一个 新建一个m_pChatMsgEdit元素(XEdit_Create)
在里面输入文字,然后点击另一控件想获取EditA里的内容,
调用
XEdit_GetText(m_pChatMsgEdit, m_ChatMsgStruct.m_ChatMsg, m_ChatMsgStruct.m_ChatLen);

发现这里调用API失败,程序当掉。
请我是什么问题呢?
通过调试发现m_ChatMsgStruct.m_ChatMsg获取正确,但是m_ChatMsgStruct.m_ChatLen很大。
谢谢!
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|炫彩界面库 ( 鄂ICP备2023014763号-1 )

GMT+8, 2024-5-5 21:27 , Processed in 0.069804 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表