Right changing VID and PID have 0 effect on how the device preforms. As mentioned run the code untouched, if that gives you the same errors, it's not what you did
If it seems to work without your changes then you are not changing the right values. Show us what you changed.
