Use the MAKE-MC.BAT file to compile the errmsg.msg file using mc.exe, which is the Microsoft message compiler. Then use build to create the required dll.