CString m_billpay;
stucDynamicTag Dynamicdata;
unsigned char buftest[37],b[1];
memset(buftest,2,37);
memset(b,1,1);
memcpy((unsigned char*)&Dynamicdata,buftest,sizeo(Dynamicdata));uchar test=(unsigned char)Dynamicdata.billPay; m_billpay=test;
TRACE("test %c",test);
为什么m_billpay 的值是空的呢?
stucDynamicTag Dynamicdata;
unsigned char buftest[37],b[1];
memset(buftest,2,37);
memset(b,1,1);
memcpy((unsigned char*)&Dynamicdata,buftest,sizeo(Dynamicdata));uchar test=(unsigned char)Dynamicdata.billPay; m_billpay=test;
TRACE("test %c",test);
为什么m_billpay 的值是空的呢?
解决方案 »
- vc深入全套视频 比孙鑫的感觉易懂
- VC 浮动工具栏位置调整的问题
- 这是什么错误?“not using the latest Platform SDK header/library ”
- 为什么提示windows.h找不到?
- 请教一个简单的问题:我在SDI程序中,切分成了两个VIEW,左边是TreeView,右边是个ListView,想问问用鼠标点击左边的树型的节点来进行切
- 用_beginthreadex这个函数需要做什么设置?
- 窗口大小、控件大小及位置调整
- 怎么判断网线脱落?Window都可以检测到
- 各位老大提个醒,我做了2年开发,需要多长时间入门VC?
- 浏览器右键菜单问题!
- 怎样在listbox中模拟LBN_DBLCLK消息??
- 怎么使程序最小化时,不在下面的系统程序条显示?
memset(b,1,1);
1、2都是不可见字符吧
如果你要初始为字符1,2应该加上‘0’的值