VS.Net 2005: Uses regsvr32 with undocumented options and fails to register

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • VIA IDE performance under 2.6.0-test7/8?
    ... Am having trouble getting decent IDE performance from the 2.6.0-test8 kernel ... BM IDE Status Register Read Retry: ... Transfer Mode: UDMA PIO PIO PIO ... # ACPI Support ...
    (Linux-Kernel)
  • [git patches] IDE updates part #1
    ... ide: ... fix register loading order when issuing packet command ... make 'extra' field in struct ide_port_info u8 ...
    (Linux-Kernel)
  • Re: Proposal: Using unregistered objects. Removing restriction from IDE.0
    ... using unregistered components in IDE would mean that IDE would have ... > You can derive a new component type and register it. ... > var Accept:Boolean); ... property FilterParam: TFilterParam read getFilterParam ...
    (borland.public.delphi.ide)
  • [git pull] IDE fixes (updated)
    ... from David Brownell and a little CodingStyle fixup. ... I also updated MAINTAINERS file to reflect conversion of the IDE tree ... MISCCTL Miscellaneous Conrol Register ...
    (Linux-Kernel)
  • [git patches] IDE fixes for 2.6.23-rc6
    ... pdc202xx_new: fix PCI refcounting ... bool "Builtin PowerMac IDE support" ... This driver provides support for the built-in IDE controller on ... This register is only writeable via I/O space. ...
    (Linux-Kernel)