I get error code 126 when using a Max Plugin

This means you do not have the latest Visual Studio Runtime installed on your machine, you can get that latest version Here