libmodbus
                                
                                 libmodbus copied to clipboard
                                
                                    libmodbus copied to clipboard
                            
                            
                            
                        Function to get last error with minor VisualStudio improvements
Libmodbus on Windows will build by default a shared library (DLL) that is statically linked against VCRedist from the used compiler. This prevents the application from accessing the errno variable.
I added a method 'modbus_get_error' that will allow you to access this value. In addition i updated the VisualStudio solution/project file to have a working 64-bit configuration as well as different build directories.
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Hubert Gletthofer. This is most likely caused by a git client misconfiguration; please make sure to:
- check if your git client is configured with an email to sign commits git config --list | grep email
- If not, set it up using git config --global user.email [email protected]
- Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails