473,503 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error PRJ0050: Failed to register output.

Hello All,

I am designing an ActiveX control in visual studio 2005 Vc++.After adding
some memeber functions to it,its giving the error as

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

How to solve this problem.Please help me.

Thanks in Advance

--
Adarsh
Jan 19 '07 #1
1 6675
"Adarsh" <Ad****@discussions.microsoft.comwrote in message
news:10**********************************@microsof t.com...
I am designing an ActiveX control in visual studio 2005 Vc++.After adding
some memeber functions to it,its giving the error as

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

How to solve this problem.Please help me.

Thanks in Advance
ActiveX controls export a function named DllRegisterServer() which is used
to set up the registry entries that COM requires. In general, you need to be
an administrator to update the registry. If something like REGSVR32 tries to
call DllRegisterServer() and the registry update fails you will get that
message.

But note that to make the call, the DLL has to be loaded and the
DllRegisterServer() export has to be found. It may be the case that due to
some other problem that the DLL can't be loaded. In that case REGSVR32 can't
call DllRegisterServer() and it may be that you'll see the same less than
helpful error message.

Regards,
Will
Jan 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5011
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I...
14
1610
by: sachin_mzn | last post by:
Hi, Why I am not getting any run time error while accessing a freed memory in following code. This is printing h in std output. #include<stdio.h> main() { char* buffer = (char*)malloc(6);...
11
13272
by: Vijay Chegu | last post by:
I have built a 64bit ATL COM dll. When i register the dll on IA64 windows Enterprise server 2003, i get following error. DllRegisterServer in mydll.dll failed. Return code was : 0x80020009 ...
0
6567
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with...
2
31446
by: shama | last post by:
Hi, I am developing shared Add-in in visual studio .net 2005 using extensibility projects -> shared add-in in VC++/ATL language. When I create application, it was not given "Common Language...
0
1359
by: Rollasoc | last post by:
Hi, I have an ATL DLL that is linked to 10 libraries. (Using VS2005). The DLL and libraries are all ported from Linux, so we had little control over the dependencies. It compiles ok, it...
11
34604
by: fniles | last post by:
We can not register an ActiveX control on our Vista 32 bit machine. When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party ActiveX control), we got an error: citcp.ocx was loaded...
1
4249
by: ashishbhatt12 | last post by:
Hi,, 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...
0
7083
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7456
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1510
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
379
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.