void CEx0625Dlg::OnButton1()
{
UpdateData();
int iLeng = m_edit.GetLength();
BYTE * pBuff = new unsigned char[iLeng] ;
memcpy(pBuff,m_edit.GetBuffer(iLeng),sizeof(unsigned char)*iLeng);
//使用
delete [] pBuff ;
}
posted on 2009-05-22 17:08 小猪 阅读(772) 评论(0) 编辑 收藏 引用 所属分类: VC++
Powered by: C++博客 Copyright © 小猪