add error_codec.hpp

Signed-off-by: Jack <jack.wgm@gmail.com>
update vcproject

Signed-off-by: Jack <jack.wgm@gmail.com>