{"id":2241,"date":"2005-11-23T13:04:00","date_gmt":"2005-11-23T13:04:00","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/wild-card-registering-com-dlls\/"},"modified":"2016-07-28T10:48:42","modified_gmt":"2016-07-28T10:48:42","slug":"wild-card-registering-com-dlls","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/blogs\/wild-card-registering-com-dlls\/","title":{"rendered":"Wild card registering COM dlls"},"content":{"rendered":"<p>When developing a COM based application sometimes it&#8217;s sometimes useful to register all the DLLs\/OCX at once.<br \/>From a command prompt <\/p>\n<pre>C:develepprojectrelease&gt;for %i in (*.dll,*.ocx) do regsvr32.exe %i \/s<\/pre>\n<p>This will try to register all dll&#8217;s even if they are not COM dlls. This is fine as the registration will fail silently.You can change the above command to register COM servers eg <\/p>\n<pre>C:develepprojectrelease&gt;for %i in (*.exe) do %i -RegServer \n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When developing a COM based application sometimes it&#8217;s sometimes useful to register all the DLLs\/OCX at once.From a command prompt C:develepprojectrelease&gt;for %i in (*.dll,*.ocx) do regsvr32.exe %i \/s This will try to register all dll&#8217;s even if they are not COM dlls. This is fine as the registration will fail silently.You can change the above&#8230;&hellip;<\/p>\n","protected":false},"author":48422,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[],"class_list":["post-2241","post","type-post","status-publish","format-standard","hentry","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/2241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/48422"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=2241"}],"version-history":[{"count":1,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/2241\/revisions"}],"predecessor-version":[{"id":24210,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/2241\/revisions\/24210"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=2241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=2241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=2241"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=2241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}