摘要:
在窗体未激活时,似乎标准输出的调用会无效。待究。#include #include #include // AllocConsole();void printConsole(std::string s){ HANDLE g_Con = GetStdHandle(STD_OUTPUT_HANDLE); DWORD dwWritten=0; WriteConsoleA(g_Con,s.c_str(),s.length(),&dwWritten,NULL);}void RelocationConsole(void){ HANDLE hStd; int fd; ... 阅读全文
posted @ 2013-11-10 13:17 mumuliang 阅读(549) 评论(0) 推荐(0) 编辑