{"id":192,"date":"2007-01-23T16:32:24","date_gmt":"2007-01-23T14:32:24","guid":{"rendered":"http:\/\/soci.hu\/blog\/index.php\/2007\/01\/23\/hogyan-kell-a-type-library-t-beagyazni-a-dll-be-c\/"},"modified":"2007-01-26T17:02:38","modified_gmt":"2007-01-26T15:02:38","slug":"hogyan-kell-a-type-library-t-beagyazni-a-dll-be-c","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2007\/01\/23\/hogyan-kell-a-type-library-t-beagyazni-a-dll-be-c\/","title":{"rendered":"Hogyan kell a type library-t be\u00e1gyazni a DLL-be (C++)?"},"content":{"rendered":"<p>Furcsa m\u00f3don az IE nem k\u00e9pes scriptb\u0151l megh\u00edvni egy ojjektum met\u00f3dus\u00e1t, ha nincs hozz\u00e1 type lib. Azt gondoltam az IDispatch-hez nem kell tlb, de csak \u00edgy m\u0171k\u00f6d\u00f6tt j\u00f3l.<\/p>\n<p><a target=\"_blank\" href=\"http:\/\/www.codeguru.com\/cpp\/com-tech\/activex\/misc\/article.php\/c2587\/\">\u00cdgy<\/a> kell berakni a type library-t er\u0151forr\u00e1sk\u00e9nt a kimeneti dll-be. Sajnos az ATL type library regisztr\u00e1l\u00f3 iz\u00e9je csak a HKCR-ba hajland\u00f3 telep\u00edteni a TLB-t, nekem viszont mindent a HKCU-ban kell megoldanom, hogy nonadmin is telep\u00edthesse a komponenst.<\/p>\n<p>Ez\u00e9rt k\u00e9zzel kell regisztr\u00e1lni az rgs-sel, pl. \u00edgy:<\/p>\n<p>[source:C++]<br \/>\nHKCU<br \/>\n{<br \/>\n\tNoRemove Software<br \/>\n\t{<br \/>\n\t\tNoRemove Classes<br \/>\n\t\t{<br \/>\n\t\t\tNoRemove TypeLib<br \/>\n\t\t\t{<br \/>\n\t\t\t\tForceRemove {8A786A39-7654-4FE0-880F-4E2AA5166D3A}<br \/>\n\t\t\t\t{<br \/>\n\t\t\t\t\t1.0<br \/>\n\t\t\t\t\t{<br \/>\n\t\t\t\t\t\t0<br \/>\n\t\t\t\t\t\t{<br \/>\n\t\t\t\t\t\t\twin32 = s &#8216;%MODULE%&#8217;<br \/>\n\t\t\t\t\t\t\t{<br \/>\n\t\t\t\t\t\t\t}<br \/>\n\t\t\t\t\t\t\tFLAGS = s &#8216;0&#8217;<br \/>\n\t\t\t\t\t\t\t{<br \/>\n\t\t\t\t\t\t\t}<br \/>\n\t\t\t\t\t\t\tHELPDIR<br \/>\n\t\t\t\t\t\t\t{<br \/>\n\t\t\t\t\t\t\t}<br \/>\n\t\t\t\t\t\t}<br \/>\n\t\t\t\t\t}<br \/>\n\t\t\t\t} <\/p>\n<p>\t\t\t}<br \/>\n\t\t}<br \/>\n\t}<br \/>\n}<\/p>\n<p>[\/source]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Furcsa m\u00f3don az IE nem k\u00e9pes scriptb\u0151l megh\u00edvni egy ojjektum met\u00f3dus\u00e1t, ha nincs hozz\u00e1 type lib. Azt gondoltam az IDispatch-hez nem kell&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,4],"tags":[],"class_list":["post-192","post","type-post","status-publish","format-standard","hentry","category-ccli","category-szakmai-elet"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":0,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/192\/revisions"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}