多个控制台一次 [英] Multiple Consoles at Once

查看:143
本文介绍了多个控制台一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有简单的方法来做到这一点?

Is there an easy way to do this?

我现在只是使用控制台测试我的网络应用程序。什么是好的是有一个项目的多个控制台和一个现在调试菜单项。

I am testing my networking application using just the console for now. What would be nice is to have multiple consoles from one project and one press of the "Debug Now" menu item.

我可以,像我在过去,使用多个项目,但这似乎不方便。理想情况下,我可以启动多个控制台实例(从同一个线程运行良好),并让他们不覆盖其他控制台,当他们启动。并排的发布会非常棒!

I could, like I have in the past, use multiple projects but that's seems unwieldy. Ideally I could launch multiple console instances (running from the same thread is fine) and have them not cover the other consoles when they do launch. Launching side by side would be awesome!

我要求的实用性如何?是否有可能?

How practical is what I'm asking? Is it possible?

谢谢!

推荐答案

技术上,您可以为应用程序创建一个单独的控制台,但是它需要创建一个子进程来托管控制台。 有一个CodeProject文章显示了基本过程。

Technically, you can create a separate console for an application, but it requires creating a child process to host the console. There is a CodeProject article showing the basic procedure.

这就是说,在你想要多个窗口显示数据的点,我认为迁移到(简单的)GUI应用程序是一个更好的选择。

That being said, at the point where you want multiple "windows" showing data, I think migrating to a (simple) GUI application is a better choice.

这篇关于多个控制台一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆