开发者

How to use visual leak detecter ( vld ) for com/atl dll projects?

开发者 https://www.devze.com 2022-12-30 04:59 出处:网络
I included vld.h file in my activex dll project. when i try to compile my project from visual studio 2008.I am getting the following error,

I included vld.h file in my activex dll project. when i try to compile my project from visual studio 2008.I am getting the following error,

1>Registering output...

1>Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry.

开发者_StackOverflow中文版

How to use visual leak detecter for com/activex dll projects?


I don't think this has anything to do with the 'visual leak detecter' (sic?)... I'm not familiar with it.

Anyway, the PRJ0050 error occurs because Visual Studio attempts to auto-register the DLL generated by the project, using a post-build step (see Project Settings), and you are not logged in as a user with permission to modify the registry.

So, either Run Visual Studio as an administrator (if you're on Windows Vista), if you want to allow auto-registration, or remove the auto-registration post-build step from the project.

0

精彩评论

暂无评论...
验证码 换一张
取 消