create vs2008 project and update win32 code

create vs2008 project and update win32 code