{"id":288,"date":"2010-06-23T19:23:19","date_gmt":"2010-06-23T19:23:19","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=288"},"modified":"2022-02-17T06:24:05","modified_gmt":"2022-02-17T06:24:05","slug":"target-platform","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/application-control\/build-setup\/target-platform","title":{"rendered":"Target Platform"},"content":{"rendered":"<p>C++ does not have the Target Platform target option found in VB and C# because it is compiled to machine code that is platform specific. \u00a0Therefore the AnyCPU (as opposed to x64 and x86 options) isn&#8217;t available.<\/p>\n<p>If you get &#8220;class not registered&#8221; errors with COM objects that are 32bit only, but you&#8217;ve checked you are set to use x86 as the target check\u00a0Project &gt; Properties &gt; Configuration Properties &gt; Gerneral &gt; Common Language Runtime Support is not the cause (for instance change\u00a0\/clr:safe to \/clr:pure).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ does not have the Target Platform target option found in VB and C# because it is compiled to machine code that is platform specific. \u00a0Therefore the AnyCPU (as opposed to x64 and x86 options) isn&#8217;t available. If you get &#8220;class not registered&#8221; errors with COM objects that are 32bit only, but you&#8217;ve checked you [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-build-setup"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":1109,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/288\/revisions\/1109"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}