PS5NorModifier icon indicating copy to clipboard operation
PS5NorModifier copied to clipboard

COM Ports not found hard crash fix

Open VashBaldeus opened this issue 1 year ago • 2 comments

When trying to debug, I encountered an issue with hard-crash coming from the Form1_Load method, result was that string[] ports = SerialPort.GetPortNames(); returned no ports (my PC has no COM). I fixed it by checking for the ports array to be longer than 0 before assigning anything thus preventing a hard crash.

Also added a message when user manually refreshes COM ports that will show in case no ports were found further preventing hard crash of the program.

VashBaldeus avatar May 14 '24 00:05 VashBaldeus

The software is not GUI for me, can anyone help me?

ghost avatar Aug 10 '24 07:08 ghost

It has been a year, was this implemented in the software yet? I hope it does. I did correct a spelling mistake I noticed in the message about no COM ports found.

VashBaldeus avatar May 09 '25 13:05 VashBaldeus