The tlbimp source code is published on codeplex! Welcome to download

Source: Internet
Author: User

Anyone familiar with COM InterOP in. NET should have a better understanding of tlbimp. This tool is specifically used to convert the Type Library (Type Library) into the corresponding InterOP assembly, so that in. netProgramUse the corresponding COM component. This InterOP Assembly mainly contains the metadata (insteadSource code. RCW implementation is actually inside CLR) and some event processingCode(Such as eventprovider) is an indispensable part of. Net/COM InterOP.

To make it easy for you to use the latest tlbimp version in a timely manner (instead of waiting for the next Visual Studio version), refer to the implementation of tlbimp, understand the working principle of tlbimp, and add new functions, we decided to release the latest tlbimp version on codeplex and publish the source code. The home page was launched this morning:

Http://www.codeplex.com/clrinterop/Release/ProjectReleases.aspx? Releaseid = 17579

This version is mainly developed by the CLR InterOP Shanghai team and is fully written using managed code (C #) and has the following enhancements compared with previous functions:

1. We redesigned the error information display of tlbimp to make it clearer and clearer, and added some new error information. And each error message now has its own unique number (such as ti1033) for reference in msdn. As the relevant documentation has not been followed up yet, we will add this part to msdn in the near future.

2. when the/verbose function is enabled, tlbimp can automatically search for other types referenced by the Type Library in the Registry and the current directory for the Type Library specified on the command line, the system prompts you to find the location of the Type Library. If the Type Library cannot be found, an error message is displayed, indicating the specific information of the type library that cannot be found, such as guid, file name, and version number. The generated results are not affected. This information can be prompted to developers to avoid various problems caused by incomplete InterOP assembly information because the referenced Type Library cannot be found.

For progress reasons, we have not added more new features. In the next few months, the focus of our team's work was to add the new features required by the customer to tlbimp (another part of the focus is naturally the new features related to the CLR of the next version. You should see it in the next version of vs beta) and provide powerful custom functions.

If you have any questions about the use of tlbimp, please leave a message on this blog or on the codeplex homepage. We will try our best to answer these questions. If you have any suggestions for tlbimp, please share your thoughts with us on this blog or on the codeplex homepage, maybe your suggestion will appear in the next version of tlbimp.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.