PDA

View Full Version : Regsvr32 crashes


Steven
12-18-2003, 07:36 PM
When Visual Build Pro builds my ATL DLL, it pops up a regsvr32 exception error event though it shows no errors in the output panel. When I build the project from msdev, it compiles and registers fine. Also, when I just run regsvr32 on the dll, this also works fine. It just seems that regsvr32 crashes when the project is built under visual build pro.

Any Help?

kinook
12-19-2003, 07:47 AM
We haven't heard of that one before. Please send

1) The info from Help | About | Install Info in VBP
2) The version/SP of Visual Studio that you're using for the project
3) The .bld file that builds the project
4) The ATL project that can be used to reproduce the problem (try to pare it down or create a repro case that doesn't have any important source code).

and post here or send to support@kinook.com. Thanks.

Steven
12-19-2003, 12:51 PM
The issue seems to have gone away (at least temporarily). I was messing with the project settings, but can't think of anything in particular I changed that may have caused the fix. If it does rear it's ugly head again... I'll send you the project. Thanks.

pdmckenzie
08-14-2008, 09:44 AM
I had this same problem for a bit. What I had to do was add a '/s' to the regsvr32 command to suppress the dialogue/popup box on the remote server. If you don't suppress it, the remote server ends up waiting for user input it will never get, and subsequently 'hangs'.

My command in VisBuildPro ended up looking like: regsvr32.exe /s e:\path\to\my\dll