Just a heads up that Visual Studio 2010 has a bug whereby custom build steps are not always correctly run.
If you follow the ESRI samples you will have a Custom Build Step for your C++ projects which calls regsvr32. If you follow the ESRI pattern then this step will not correctly execute if you Build the solution after changing a file. The following link describes how to work around the Microsoft issue: