Amended for VS2010 on Win7x64 targeting .NET v2