What I need to do to fix the error when using Dynamixel SDK in Microsoft visual studio 2019


I was trying to run the read and write program in the example yesterday as per the dynamixel sdk e-manual and Visual Studio displayed the following error message.

(Unhandled exception at 0x00007FFDD181DF28 (ucrtbase.dll) in read_write.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.)

So what I need to do to fix it?

Thank you!

It looks like the error in question is related to an error in the parameters supplied to the highlighted function. Referring to the function’s documentation to confirm allowed parameters should clarify what data types are acceptable.