Regasm Vs Regsvcs


Let’s try again

The regsvcs.exe utility registers a .NET component for .NET Enterprise Services.
The regasm.exe utility registers a .NET component for COM interoperability.

.NET framework assemblies are designed to work without using the Windows system Registry, but because you want your component to interact with COM+, you must make a Registry entry for them (…) use gacutil to install the component in the GAC and regsvcs to register the component.
After you have completed these steps, you can use Windows Component Services management console to view information about your component.

Some organizations might wish to start taking advantage of the .NET platform by developing certain key middle-tier components in managed code. However, they might still be using Visual Basic 6 or Active Server Pages for the user-interface tier. In this situation, you would want to develop new .NET components, which are visible to both COM-based client applications and managed .NET applications.
(…) To keep a consistent interface for COM callers, you should create an explicit interface for your managed class (this can be done with the Type Library Exporter utility, tlbexp.exe)

c:\path> tlbexp


Use the regasm.exe command-line utility to register the component for use by COM.

c:\path> regasm


최 재훈

블로그, 페이스북, 트위터 고성능 서버 엔진, 데이터베이스, 지속적인 통합 등 다양한 주제에 관심이 많다.
Close Menu