Does anyone have an sample to show me how it works with visual c++?