473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

regsvr32 from custom build in VS 2010 fails

2
Hi

regsvr32 from custom build in VS 2010 fails. But the same succeeds registering from simple command window from Windows->start->Run

I am using clearcase view. The dll is ported from VS2008 to VS2010.



Thanks
Godon
Mar 16 '11 #1
3 12203
weaknessforcats
9,208 Expert Mod 8TB
I would expect that's because you are on a 64-bit machine trying to run a 32-bit program. I don't think WOW is used in the build. But I am just guessing. Let me knw what you find out.
Mar 16 '11 #2
godon
2
To detail more:

From Windows->Strart->Run the dll registers successfully. But fails registration from Custom build step in Visual Studio 2010 IDE.
It reports : MSB3073 The command "regsvr32 /s /c asc.dll" failed :VCEnd exited with code 3.

This is a converted project from VS2005. in Vs2005 IDE it works perfectly in registering from Custom build step.

From dependency walker I tried profiling the dll through regsvr32.exe. It succeeded.

In IDE only it fails. Thanks for your additional inputs, if any!

-Godon
Mar 17 '11 #3
Hi, Godon.

I came around exactly the same problem and error message using VS.2013 and in my case the command line reference to the name of the ".ocx" component was not correct. So I have solved it by issuing such a command in the custom build step as: regsvr32 /s /c "$(OutDir)MyFileName.ocx" and it Comes after that another error regarding insufficient rights to run the command ":VCEnd exited with code 5" which I have also solved by running the visual Studio as Administrator. So I am sure that "VCEnd existed with code 3" actually refer to a not found dll/ocx to Register. (Microsoft should work on better error Messages for us developers:))

Hope this is usefull for you still, happy to hear your Feedback

Scott
Jul 2 '15 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: George Mills | last post by:
If a custom build step is too large (like 50 lines) the whole thing gets corrupted. This did not happen in .Net 2002 or VC6. It only happens in .Net 2003 We are using unmanaged C++. If you...
3
by: Gordon Watts | last post by:
Hi there, I've got a special header file which I run an small external program over to produce a .cpp file that I want to have my project build. The special header file includes a second header...
0
by: Lee Alexander | last post by:
I am trying to emulate the C# behaviour of copying referenced assemblies into the build output directory but for normal DLLs. Currently some components (DLLs) are build and dumped into a shared...
4
by: Pete H | last post by:
I would like to have my new C++ projects start out with two configurations, UnicodeDebug and UnicodeRelease, instead of the standard Debug and Release configurations that Visual Studio always...
2
by: Peter Ritchie | last post by:
In VS/VC 2003: Simple question: for the Custom Build Step for the project (right click the project in the Solution Explorer, select "Properties", select the "Custom Build Step" in the...
1
by: David Herbst | last post by:
Enterprise Library Jan 2006 with Visual Studio 2005 on Windows 2000 Server sp4. My custom exception formatter fails with a "Unable to handle exception: 'LoggingExceptionHandler'." exception. ...
0
by: Michael Russell | last post by:
Hi, I'm beginning the process of moving some projects from VS.Net 7 to VS2005. I'm having problems getting a Custom Build Step to work. In the dialog for the header file I want to perform the...
1
by: Michael Russell | last post by:
Hi all, Sorry for the repost, but I never received any response when I first asked this a few weeks ago. I would really appreciate some feedback on this, it's driving me nuts... I'm...
0
by: mohaaron | last post by:
I recently added a web deployment project to my vs.net 2005 solution to deploy a assocated web site project. When I originally added the web deployment project to the solution I had one other class...
0
by: thomas.santos | last post by:
Hi, I've been trying to add a script to create a custom C++ file type to visual studio 2005 with limited success. I can get the file created and added to a project, however, I need to add a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...

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.