MCP2210 DLL (v2.0) - Exception in Mcp2210_GetConnectedDevCount() function
Why does the simple presence of another USB device on the PC make the Mcp2210_GetConnectedDevCount() function from the MCP2210 dll v2.0 crash? DLLs used: mcp2210_dll_m_dotnetv4_x86.dll / mcp2210_dll_m_dotnetv4_x64.dll.
This problem is caused by the hardware ID string of the other USB device (HID\\VID_046D&PID_C52B&REV_1201&MI_02&Qid_4003&WI_02&Class_0000001A&Col01), which has a length greater than 68 characters. Other functions affected: Mcp2210_OpenByIndex(), Mcp2210_OpenBySN().
The same issue is present in MCP2221 DLL v2.0. We recommend downloading the updated DLL from the MCP2210 / MCP2221 product page.