Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullModemEmulatorManager manager = new() ,report errors #1

Open
qq790382720 opened this issue Jan 9, 2023 · 1 comment
Open

NullModemEmulatorManager manager = new() ,report errors #1

qq790382720 opened this issue Jan 9, 2023 · 1 comment

Comments

@qq790382720
Copy link

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

@seayxu
Copy link
Collaborator

seayxu commented Jan 9, 2023

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");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants