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

Some error handling in get serial port names #171

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hiddenalpha
Copy link

@hiddenalpha hiddenalpha commented Aug 6, 2024

Looks as there's some error handling missing here. Unluckily I do NOT have any windows box available right now. And I'm far from having a jssc build environment ready. So I'll try my best to write this code with nothing more than the msdn documentation and a good old text editor. Lets see how many compiler errors I'll produce.

Maybe somebody can have a look if this helps with #170?

maybe fixes: #170

Edit: Oh cool :) jssc got gh actions. Thanks for setting this up.

Looks as there's some error handling missing here. Unluckily I do NOT have any
windows box available right now. And I'm far from having a jssc build
environment ready. So I'll try my best to write this code with nothing
more than the msdn documentation and a plain text editor. Lets see how
many compiler errors I'll produce.

Related:
- java-native jssc issue 170
@tresf tresf mentioned this pull request Aug 7, 2024
src/main/cpp/windows/jssc.cpp Outdated Show resolved Hide resolved
src/main/cpp/windows/jssc.cpp Show resolved Hide resolved
@tresf
Copy link

tresf commented Aug 11, 2024

LGTM, but I haven't tested the code and it's not my area of expertise, so a second review is recommended prior to merging.

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

Successfully merging this pull request may close these issues.

Cannot list COM Ports
2 participants