ecwin7.h modified to work with msvc 2008 and msvc 2010