Closed ghost closed 11 years ago
Sorry can't be done from c#
you could run your program that uses the comport in the virtual machine along with the portmon that'll probably work
Thanks for your suggestion, it solved my problem. The "Windows XP mode" does not support binding host COM ports with a high number. As unlogical as it may seem, to make a COM port available to the VM, set its number to 1 or 2 from the host Device Manager.
Albert-Jan Nijburg notifications@github.com schrieb:
Closed #19.
Reply to this email directly or view it on GitHub: https://github.com/albertjan/PipeToCom/issues/19
Dear Albert-Jan,
I am trying to use your neat little service to accomplish something very strange indeed. Sysinternals PortMon supports only 32-bit Windows, but I have 64-bit. So what I did, was to get the "Windows XP Mode" virtual machine for my Windows 7, which runs 32-bit. Sure enough, PortMon works there.
So I tried to access the COM port via a pipe. I managed to create one using your handy Service, but as a bad news to me, it still blocks the COM port. As non-blocking access (simply listening) to the serial port is my goal, I wondered whether your service could be modified easily to accomplish just that.
Other than that, I am happy to hear any off-topic solutions to my problem.
Better Vibes, Leroy Jenkem