问题:warning MSB3075: The command "regsvr32 /s "G:\StudyAndPractice\C++\COM\ATLProject1\Debug\ATLProject1.dll"" exited with code 5. Please verify that you have sufficient rights to run this command.
error MSB8011: Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions.
解决:相应Project的 Properties->Linker ->General->Pre-user Redirection 设为TRUE