NullModemEmulator icon indicating copy to clipboard operation
NullModemEmulator copied to clipboard

NullModemEmulatorManager manager = new() ,report errors

Open qq790382720 opened this issue 2 years ago • 1 comments

error message: System.IO.DirectoryNotFoundException:“Attempted to access a path that is not on the disk.” initiate: NullModemEmulatorManager manager = new();

program context :NET6 windows:windows10

qq790382720 avatar Jan 09 '23 01:01 qq790382720

You should install com0com first.

May be you run program as administrator.

Or you can initial manager with com0com path that setupc.exe in.

NullModemEmulatorManager manager = new(@"C:\Program Files (x86)\com0com");

seayxu avatar Jan 09 '23 02:01 seayxu