I am using MFC Activex Control Application in VS 20005.

I include other DLL in my solution and I have the problem that when I include any function of my DLL then it gives me the error like below.

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

But when I comment on that calling function then suddently that error goes away.

I have googled for this problem and I got some idea from that and also I tried them but did not get the solution.

Let me tell you that ....

** I have the Administrator rights.

** I tried to put this DLL in the /system32 folder but it did not work.

Is there any other setting to do which I am missing?? Plz suggest me.