在ATL COM .exe服务器中添加控制台 [英] add console in An ATL COM .exe server
本文介绍了在ATL COM .exe服务器中添加控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ATL COM服务器如何将消息转储到客户端发送的控制台中?
How an ATL COM server can dump messages to the console send by the client??
推荐答案
尝试使用AllocConsole函数.您不能为一个应用程序创建两个控制台.如果您的应用程序已经具有控制台,则对该函数的调用将失败.
有关更多信息,请参见 http://msdn.microsoft.com /en-us/library/ms681944%28v=vs.85%29.aspx
Try using AllocConsole function. You cannot create two consoles for a single application. If your application already has a console then call to this function will fail.
For more information have a look at http://msdn.microsoft.com/en-us/library/ms681944%28v=vs.85%29.aspx
这篇关于在ATL COM .exe服务器中添加控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文