{"id":463,"date":"2008-07-19T13:39:48","date_gmt":"2008-07-19T11:39:48","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=463"},"modified":"2008-07-20T09:28:25","modified_gmt":"2008-07-20T07:28:25","slug":"visual-studio-cnet-2008-goodies","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/463","title":{"rendered":"ATL and Visual Studio C++.NET 2008 Goodies"},"content":{"rendered":"<p>This seems to be undocumented (<a href=\"http:\/\/www.google.com\/search?q=RegServerPerUse\">Google does not know anything on this<\/a>): ATL server executables may be run with <strong>\/RegServerPerUser<\/strong> and <strong>\/UnregServerPerUser<\/strong> switches to hopefully (this what would expect this to do without checking) register contained <a href=\"http:\/\/msdn.microsoft.com\/com\">COM<\/a> classes under <strong>HKEY_CURRENT_USER<\/strong> rather than <strong>HKEY_LOCAL_MACHINE<\/strong> and thus allow COM server run under credentials of non-administrative user. See Also: <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms724498(VS.85).aspx\">Merged View of HKEY_CLASSES_ROOT<\/a>.<\/p>\n<p>Good bye <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/h02f9ttw(VS.80).aspx\">_ATL_MIN_CRT<\/a>: this mode is retired with <a href=\"http:\/\/msdn.microsoft.com\/en-us\/vstudio\/default.aspx\">Visual Studio .NET 2008<\/a>.<\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/1z0ccf7f(VS.80).aspx\">PROP_ENTRY<\/a> and <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ds84x0xt(VS.80).aspx\">PROP_ENTRY_EX<\/a> are deprecated and replaced with <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/1z0ccf7f.aspx\">PROP_ENTRY_TYPE<\/a> and <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ds84x0xt.aspx\">PROP_ENTRY_TYPE_EX<\/a>. Note that property pages have to be mentioned in property map explicitly using <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ahs9f4tw.aspx\">PROP_PAGE<\/a> as opposed to old behavior when they were referenced as a part of property declaration.<\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/exb5b09w(VS.80).aspx\">ATL Server<\/a> is taken out of the product and moved to open source project at <a href=\"http:\/\/www.codeplex.com\/AtlServer\/\">CodePlex<\/a>.<\/p>\n<p>Many small fixes, including for example for <a href=\"https:\/\/alax.info\/blog\/397\">CenterWindow<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This seems to be undocumented (Google does not know anything on this): ATL server executables may be run with \/RegServerPerUser and \/UnregServerPerUser switches to hopefully (this what would expect this to do without checking) register contained COM classes under HKEY_CURRENT_USER rather than HKEY_LOCAL_MACHINE and thus allow COM server run under credentials of non-administrative user. See&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/463\">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":[11],"tags":[487,38,88],"class_list":["post-463","post","type-post","status-publish","format-standard","hentry","category-atl","tag-atl","tag-c","tag-vs-2008"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/463","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=463"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/463\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}