如何在 Windows 中创建 Virtual Com1 端口? [英] How to create a Virtual Com1 port in windows?

查看:32
本文介绍了如何在 Windows 中创建 Virtual Com1 端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个移动应用程序以在袖珍电脑上运行.我们有一个移动打印机和刷卡,它使用 com1 发送和获取信息.我正在使用设备模拟器并想在没有打印机的情况下进行测试.如何创建一个虚拟的 com1 端口以正确读取和读取?我试过 com0com 但设备模拟器不会将其设置为串行 0.

I am developing a mobile app to run on a pocketpc. We have a mobile printer and card swipe that uses com1 to send and get info. I'm using the device emulator and want to test without the printer. How do I create a virtual com1 port to right to and read from? I tried com0com but the device emulator will not set that as serial 0.

推荐答案

这不是一个直接的答案,但如果您感到绝望,我有一个朋友使用 Detours 将与 COM 接口相关的输出重定向到他无法编辑另一个程序的源时所需的位置.

This isn't a direct answer, but if you get desperate enough, I had a friend use Detours to redirect output relating to COM interfaces to where he wanted it when he couldn't edit another program's source.

这篇关于如何在 Windows 中创建 Virtual Com1 端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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