update classes code and win32 proj to 3.0