WIN32 - started fixing vs project, removed unused variable