Use VS 2005 to write the OCX control. It is a good word. If project: Error prj0050: the output cannot be registered. Make sure that you have the permission to modify the registry.
After reading it for a long time, I am an administrator and cannot delete debug. Project: Error prj0050: failed to register output. Please ensure you have the appropriate permissions to modify the registry is really troublesome.
I had to consider the changes step by step and found that a DLL was called. This lib has already been # pragma comment (Lib, "tmdapi. lib"). just delete the DLL call and consider it. You just have to move the DLL cpoy to the output directory. All third-party DLL files are put together and then registered.
In the current directory, % WINDIR % and % WINDIR %/system32 are all supported.
Microsoft is also harmful.
Http://msdn2.microsoft.com/en-us/library/ms235584 (vs.80). aspx
Project Build error prj0050
Error Message
Failed to register output. Please ensure you have the appropriate permissions to modify the registry.
The Visual C ++ build system was not able to register the output of the build (DLL or. EXE). You need to be logged on as an administrator to modify the registry.
If you are building a. dll, you can try to register the. dll manually using regsvr32.exe, this shoshould display information about why the build failed.
If you are not building a. dll, look at the build log for the command that causes an error.