VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: "David F" <David-White@xxxxxxxxxxxxx>
- Date: Sun, 10 Jul 2005 09:28:00 -0700
Using VC++ Studio .Net 2005.
After creating X.OCX file, the IDE calls for the following with failing
results to register, as taken from the buildlog.htm file:
regsvr32 /s /c "f:\...\x.ocx"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from
"Performing registration"
exit 1
:VCEnd
1. Neither of the options /s & /c are documented as available options for
regsvr32.exe
See: "Explanation of Regsvr32 Usage and Error Messages"
http://support.microsoft.com/default.aspx?scid=kb;en-us;249873
2. "errorlevel 1" is not even mentioned in the "Error Messages" in the above
article.
3. Except the above article, I could not find even a trace of the
regsvr32.exe utility in any of several
very relevant books I have. Isn't it a standard Window OS utility?
Any ideas about what is going on?
Thanks,
David
.
- Follow-Ups:
- Prev by Date: how to remove "First-chance exceptions" debug messages
- Next by Date: Re: NRVO
- Previous by thread: how to remove "First-chance exceptions" debug messages
- Next by thread: Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- Index(es):
Relevant Pages
|