{"id":77,"date":"2004-08-15T03:56:00","date_gmt":"2004-08-15T03:56:00","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=14"},"modified":"2006-04-26T16:11:13","modified_gmt":"2006-04-26T21:11:13","slug":"my-schizophrenia-continues","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2004\/my-schizophrenia-continues\/","title":{"rendered":"Visual Studio 2005 Beta 1"},"content":{"rendered":"<p>Got Visual Studio 2005 Beta 1 with my MSDN subscription recently.  Anyone can get a &#8220;hobbyist&#8221; version here (now everyone, all together, say &#8220;thank you open source&#8221; for forcing M$&#8217;s hand on that).<\/p>\n<p>It looks nice, has a C++ configuration available for selection on the first-time run that has been fairly comfortable for me.<\/p>\n<p><strong>UPDATE<\/strong>: OK, I&#8217;m switching, this looks good and the VC++ 6 compiler has got to go.  Read on for the details&#8230;<\/p>\n<p><strong>&#8216;NUTHA UPDATE<\/strong>: I&#8217;ve seen blogs ranting about the class diagram functionality, which can operate in both directions, letting you add to the actual code by adding to the diagram, and vice versa&#8230; but generating one is not obvious.  Hopefully not just hyped fanboy blogging&#8230; &#8217;cause we&#8217;re WAY overdue for something like that&#8230; everyone knows the Rose Stinks&#8230;  \ud83d\ude1b<\/p>\n<p><strong>&#8216;NUTHA UPDATE<\/strong>: It&#8217;s simple, just select Solution Explorer->YourC++Project->Add->New Item->Visual C++->Class Diagram (!).  Give it a name and start dragging in classes.  You can have more than one diagram in a project.  OK, I have to say, I&#8217;m all about this, nice.<\/p>\n<p><!--more--><\/p>\n<p>Steps of the switch journey:<\/p>\n<li>Uninstalled VS .net 2003, to make room\n<li>Installed the full Visual Studio 2005 Beta 1\n<li>Re-installed the latest Platform SDK\n<li>Made a copy of my entire HangTheDJ project and imported the dsw project into a new VS solution.\n<li>Started compiling &#8211; lots of issues to work through, but nothing major yet&#8230;\n<li>Check <SLASH xhref=\"http:\/\/groups.google.com\/groups?q=min+max+%22algorithm%22+afxtempl.h&amp;hl=en&amp;lr=&amp;ie=UTF-8&amp;as_qdr=all&amp;selm=u0zbsrDqBHA.2052%40tkmsftngp03&amp;rnum=1\" ID=\"add9d00caf53bb8cfe28a701fa7e4460\" TITLE=\"\" TYPE=\"link\">this post<\/SLASH> for a solution to end the annoying std::min\/max \/ M$ min max macro collision.\u00c2\u00a0 Put the following code at the top of StdAfx.h:\n<p>#include [algorithm]<\/p>\n<p>using std::min;<\/p>\n<p>using std::max;<\/p>\n<li>void pointers were never a good idea, VS cracks down on them, specific problems follow&#8230;\n<li>qsort uses a void pointer, switch to std::sort instead\n<li>you CANNOT cast objects like iterators to void*, you have to dereference the iterator then get the address and cast\n<li>Keyboard mapping is driving me nuts, I&#8217;m converting stuff over as I run into problems&#8230;\n<li>Compiler is not as forgiving with message map functions, you must use the proper parameters (NMHDR* pNMHDR, LRESULT* pResult)\n<li>To be continued&#8230;<br \/>\n","protected":false},"excerpt":{"rendered":"<p>Steps of the switch journey:<\/p>\n<li>Uninstalled VS .net 2003, to make room\n<li>Installed the full Visual Studio 2005 Beta 1\n<li>Re-installed the latest Platform SDK\n<li>Made a copy of my entire HangTheDJ project and imported the dsw project into a new VS solution.\n<li>Started compiling &#8211; lots of issues to work through, but nothing major yet&#8230;<br \/>\n<\/p>\n<li>Check <SLASH HREF=\"http:\/\/groups.google.com\/groups?q=min+max+%22algorithm%22+afxtempl.h&amp;hl=en&amp;lr=&amp;ie=UTF-8&amp;as_qdr=all&amp;selm=u0zbsrDqBHA.2052%40tkmsftngp03&amp;rnum=1\" ID=\"add9d00caf53bb8cfe28a701fa7e4460\" TITLE=\"\" TYPE=\"link\">this post<\/SLASH> for a solution to end the annoying std::min\/max \/ M$ min max macro collision.  Put the following code at the top of StdAfx.h:\n<p>#include [algorithm]<br \/>\nusing std::min;<br \/>\nusing std::max;<\/p>\n<li>void pointers were never a good idea, VS cracks down on them, specific problems follow&#8230;\n<li>qsort uses a void pointer, switch to std::sort instead\n<li>you CANNOT cast objects like iterators to void*, you have to dereference the iterator then get the address and cast\n<li>Keyboard mapping is driving me nuts, I&#8217;m converting stuff over as I run into problems&#8230;\n<li>Compiler is not as forgiving with message map functions, you must use the proper parameters (NMHDR* pNMHDR, LRESULT* pResult)\n<li>To be continued&#8230;<br \/>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[4,6],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-projects","category-windows-projects"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-1f","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":0,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}