{"id":3751,"date":"2014-03-30T05:11:55","date_gmt":"2014-03-30T05:11:55","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/different-technologies-for-c-development-collection-of-common-programming-errors\/"},"modified":"2014-03-30T05:11:55","modified_gmt":"2014-03-30T05:11:55","slug":"different-technologies-for-c-development-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/different-technologies-for-c-development-collection-of-common-programming-errors\/","title":{"rendered":"Different Technologies for C++ Development-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn Hello,I am a newbie when it comes to developing in Visual C++.\u00a0 What I want to do is create windows applications only.What I want know is what are the different technologies such as ATL, CLR, MFC, and\u00a0Win32 in a nutshell?\u00a0 Why are there so many?\u00a0 What is each used for?Thanks,techctzn<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn1 ATL: class library for developing COM components CLR: class library and runtime environment for developing Windows programs in managed code MFC: class library for developing Windows programs Win32: raw native API, no classes CLR is by far the easiest way to develop Windows programs.\u00a0 Doing so in C++ is however not recommended, C# is the better choice with much better support in the IDE.\u00a0 If you prefer unmanaged C++, you should choose MFC.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn2 COM is the Common Object Model that is used for unmanaged code, and allows DLL&#8217;s to be built that are language-independent. That means you can use VB6, Fortran, VB.NET, or whatever, to call a DLL written in a different language. Readm more about it here. DCOM is distributed COM, and means the client code may call another executable in the same manner as a DLL, and indeed that the executable may be running on a completely different machine.ATL is used as a framework to build COM and DCOM applications.<\/p>\n<p>The CLR is Common Language Runtime and is the foundation for .NET applications. Read about it here.<\/p>\n<p>MFC is used for building unmanaged windows applications. Lots of material to read here.<\/p>\n<p>For all this material, put your\u00a0favourite search engine to use.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn3 COM is the Common Object Model that is used for unmanaged code, and allows DLL&#8217;s to be built that are language-independent. That means you can use VB6, Fortran, VB.NET, or whatever, to call a DLL written in a different language. Readm more about it here. DCOM is distributed COM, and means the client code may call another executable in the same manner as a DLL, and indeed that the executable may be running on a completely different machine.ATL is used as a framework to build COM and DCOM applications.<\/p>\n<p>The CLR is Common Language Runtime and is the foundation for .NET applications. Read about it here.<\/p>\n<p>MFC is used for building unmanaged windows applications. Lots of material to read here.<\/p>\n<p>For all this material, put your\u00a0favourite search engine to use.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn5<\/p>\n<p>Thank you Brian!<\/p>\n<p>I do understand there is a lot of material out there however I had read through a lot already\u00a0and I just needed the gist of the material i.e. a starting\u00a0point.\u00a0 It is often bewildering to wade through the material only to find yourself drowning in\u00a0a few feet of it.\u00a0 \ud83d\ude42\u00a0 Thank you for understanding.<\/p>\n<p>techctzn<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>msdn Hello,I am a newbie when it comes to developing in Visual C++.\u00a0 What I want to do is create windows applications only.What I want know is what are the different technologies such as ATL, CLR, MFC, and\u00a0Win32 in a nutshell?\u00a0 Why are there so many?\u00a0 What is each used for?Thanks,techctzn msdn1 ATL: class library [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3751","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3751"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3751\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}