![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VC++
wangboa123
这个作者很懒,什么都没留下…
展开
-
mfc下打开命令行(抄袭)
AllocConsole(); hCon = GetStdHandle(STD_OUTPUT_HANDLE); DWORD dwWritten; //输出信息 char *s = "Test of console"; if(hCon != NULL)WriteConsole(hCon,s,strlen(s),&dwWrit转载 2009-02-13 11:20:00 · 623 阅读 · 0 评论 -
MessageBox显示DWORD
DWORD Addr; char sz[256]; memset(sz,0,256); sprintf(sz,"%d", Addr); MessageBox( NULL, sz, "" ,MB_OK); AfxMessageBox("got it right"); 如果MessageBox报错,cant原创 2009-02-13 11:23:00 · 1602 阅读 · 0 评论