{"id":739,"date":"2009-01-05T18:26:51","date_gmt":"2009-01-05T16:26:51","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=739"},"modified":"2009-01-05T18:26:51","modified_gmt":"2009-01-05T16:26:51","slug":"registertypelibrary-to-register-type-libraries-the-way-regsvr32-registers-com-servers","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/739","title":{"rendered":"RegisterTypeLibrary to register type libraries the way regsvr32 registers COM servers"},"content":{"rendered":"<p>While <a href=\"http:\/\/support.microsoft.com\/kb\/249873\">regsvr32 tool<\/a> is used to register COM servers, such as .DLL, .OCX, .AX files, sometimes you need an equivalent for type library files, such as .TLB, for example to automate software registration on a host. There has been no stock utility for this that I am aware of, so I have been using my own one (RegisterTypeLibrary):<\/p>\n<pre>C:\\Program Files\\Alax.Info\\Media Tools&gt;RegisterTypeLibrary.exe Acquisition.dll\r\nType Library Information:\r\n  File Path: Acquisition.dll\r\n  File Full Path: C:\\Program Files\\Alax.Info\\Media Tools\\Acquisition.dll\r\n  Name: AlaxInfoMediaToolsAcquisition\r\n  Documentation String: Alax.Info Media Tools Acquisition 1.0 Type Library\r\n  GUID: {4C03D3C8-13AD-451F-9363-FAD08EF94A91}\r\n  LCID: 0\r\n  Platform: 1\r\n  Version: 1.0\r\n  Flags: 0x8\r\n\r\nRegistering...\r\nRegistered.<\/pre>\n<p>\/U unregisters, \/Q displays information about type library (may be useful as it also works for .DLL files where type library is embedded into binary).<\/p>\n<p>A Visual C++ .NET 2008 source code is <a href=\"http:\/\/code.assembla.com\/roatl-utilities\/subversion\/nodes\/trunk\/RegisterTypeLibrary\">available from SVN<\/a>, release binary <a href=\"http:\/\/code.assembla.com\/roatl-utilities\/subversion\/nodes\/trunk\/RegisterTypeLibrary\/Release\/RegisterTypeLibrary.exe?format=raw\">included<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While regsvr32 tool is used to register COM servers, such as .DLL, .OCX, .AX files, sometimes you need an equivalent for type library files, such as .TLB, for example to automate software registration on a host. There has been no stock utility for this that I am aware of, so I have been using my&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/739\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[95,156,157,132],"class_list":["post-739","post","type-post","status-publish","format-standard","hentry","category-utilities","tag-com","tag-tlb","tag-type-library","tag-utility"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=739"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/739\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}