Regasm Vs Regsvcs

  • Post author:
  • Post category:
  • Post comments:0 Comments
  • Post last modified:March 4, 2013

From http://www.sadikhov.com/forum/Regasm-Vs-Regsvcs_1595.html

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)

example:
c:\path> tlbexp

.dll

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

example:
c:\path> regasm

.dll

Author Details
Kubernetes, DevSecOps, AWS, 클라우드 보안, 클라우드 비용관리, SaaS 의 활용과 내재화 등 소프트웨어 개발 전반에 도움이 필요하다면 도움을 요청하세요. 지인이라면 가볍게 도와드리겠습니다. 전문적인 도움이 필요하다면 저의 현업에 방해가 되지 않는 선에서 협의가능합니다.
0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments