vc10 support for samples