473,326 Members | 2,061 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,326 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 12194
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.