RegSvcs makes it easy to add managed classes to Windows 2000 Component Services by combining several activities into a single utility. Specifically, RegSvcs performs the following actions:
RegSvcs AssemblyFile.dll ApplicationName [tlbName.tlb]
This tool requires an NGWS runtime source assembly file and the name of the destination application in Component Services. If you plan to install your class into a new COM+ 1.0 application, create the application first before running the RegsSvcs utility. Optionally, you can specify a type library name or allow the utility to use the assembly name as the default.
This example adds all public classes contained in mytest.dll to mytestapp, an existing COM+ 1.0 application, and produces the mytest.tlb type library.
RegSvcs mytest.dll mytestapp
This example adds all public classes contained in mytest.dll to mytestapp, an existing COM+ 1.0 application, and produces the newtest.tlb type library.
RegSvcs mytest.dll mytestapp newtest.tlb