본문 바로가기
프로그래밍/C++

[C++] VS2010/Windows7에서 ActiveX 개발시 어쩌다 만나게 되는 오류 해결방법

by 건우아빠유리남편 2011. 7. 27.
반응형
원인은 UAC?

error MSB8011: 출력을 등록하지 못했습니다. 사용자 단위 리디렉션을 사용하도록 설정하거나 높은 권한으로 명령 프롬프트에서 구성 요소를 등록하십시오. 는 아래를 참조


Starting from Windows Vista, including Vista, Win2008 Server, Windows7, build process cannot write to HKEY_CLASSES_ROOT (HKCR) hives unless the process is started as administrator. To be able to register in non-administrator mode, VS2008 and VS2010 offer the feature of "registrer per user". The registration information is written to HKEY_CURRENT_USER (HKCU).

You can set Linker -> General -> Per User ReDirections to "true" if Linker -> General -> Register Output is set to "true if you use the built registration step of the project system.

If you have your own custom registration step, you can use the per user registration command: regsvr32 /s /n /i:user "xxxx.dll".

If VS2010 is installed on Windows XP, you don't need to have the elevated privilege or per user registration to register your application since the security requirement is OS specific.


Li Shao, MSFT
Li Shao

참조 사이트 : http://social.msdn.microsoft.com/Forums/en/vcprerelease/thread/11f01ceb-52a4-438f-b7ef-727ce7a3e191

반응형

댓글