NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Services Registration Tool (RegSvcs.exe)

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:

Syntax

RegSvcs AssemblyFile.dll ApplicationName [tlbName.tlb]

Remarks

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.

Examples

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