Solved Need a Virtual Dummy Serial Port on Windows
-
I have a C#.NET application being installed on Windows 7 (not my choice.) The application used to use two serial devices, one on COM1 and one on COM3. The one on COM1 is no longer used and is not plugged in, but the application still looks for the COM port to set up the application even if no data comes from there. The COM3 device is still there and used.
I need a bit of software that will run on Windows and will provide something for that COM port to attach to, but doesn't need to do anything. Just enough so that I can set up the COM1 device and have it sitting there. Simply adding the device in the Device Manager just provides me with a disabled device.
-
This might be what you want, but sadly SourceForge has gone down this morning.
-
I was wondering if you could use some form of COM redirection?
-
How would that work? How would I test that?
-
Try
net use com1 \\server\com1
You'll need to share a com off the server I think - if it errors out it wouldn't work. Then again, you might not have one to share.
-
@Dashrender not a LAN application. The server is a web service. SaaS.
-
@Reid-Cooper said:
@Dashrender not a LAN application. The server is a web service. SaaS.
Doesn't matter. The redirection simply creates a 'local' type COM1 device.... the local machine treats it as local and just beams the data where ever the redirect tells it to..
-
Managed to use com0com and get it to work by looping it to COM5. Odd, but it was enough for it to discover it and ignore it. Thanks for the help!