What’s new in Orcas for VC++

Channel9 has posted recently an interview with Sarita Bafna, a Program Manager on the VC++ Libraries team, about the new features available in Orcas (in March CTP also) for VC++. The interview is focused on 2 things: marshaling library and MFC updates. The marshaling library consists on one single API, marshal_as, for marshaling between managed…

Microsoft’s Plans for ‘Orcas’ and ‘Rosario’

Prashant Sridharan, Microsoft group product manager for Visual Studio, announced Monday, March 26, 2007, that Microsoft plans to release Visual Studio code-named ‘Orcas’ by the end of the year, and it also plans to release Visual Studio code-named ‘Rosario’ (the next version after ‘Orcas’) within an year timeframe after that. A CTP for ‘Rosario’ might…

LINQ example: listing directories

LINQ is a valuable feature for database and XML programming, but not only. Basically, you can use LINQ with everything that returns an IEnumerable. Here is an example, when I want to list the directories of a parent directory, in alfabetical order, and grouped by the file attributes (first all that have only the flag…

Guidelines for Installing Visual Studio 2005 under Vista

This is a simple guideline from my own experience for installing Visual Studio 2005 with SP1 and SP update for Vista. Installation of Visual Studio 2005 is pretty straight-forward. It does not take more than one hour. For the rest you should consider these: download Microsoft Visual Studio 2005 Team Suite Service Pack 1 (it…

Interview with Titans

Channel 9 forums has posted in January a video interview with Anders Hejlsberg (chief architect of C#), Herb Sutter (architect of C++), Erik Meijer (architect of VB.NET and C#) and Brian Beckman (physicist and architect of VB.NET). For one hour they talked about new trends in programming, the new issues and dificulties faced, and what…

Installing Orcas March CTP

This week I decided to test the March CTP of Visual Studio code-named ‘Orcas’. So I started with a google search for the the download page, I found two: Microsoft Pre-release Software Visual Studio Code Name “Orcas” – March Community Technology Preview (CTP) (Self-extracting Install): contains 7 archives totalling 4.5GB Microsoft Pre-release Software Visual Studio Code…

Customize Places Bar in Common File Dialog

Recently, CodeGuru has published my article about customizing the Places Bar of the common file dialog. In this article I have explained how to twick the registry to display your own list of shortcuts in the places bar. The folders are specified in registry under HKEY_CURRENT_USER in Software\Microsoft\Windows\CurrentVersion\Policies\ComDlg32\PlacesBar in two ways: either by IDs for…

LINQ presentation

Anders Hejlsberg, creator of Turbo Pascal and C#, delivered a great presentation on LINQ on Tuesday. This was actually my first contact with LINQ (which stands for Language INtegrated Query), but it makes me envy the C# and VB.NET programmers, because these are the only two languages that support it. LINQ defines a set of general-purpose…

Prefer std::string to char*

This is the title of my last article published on CodeGuru, http://www.codeguru.com/cpp/cpp/string/general/article.php/c13267/. Being active on forums like CodeGuru or MSDN I’ve seen so many times people using char* in places where a std::string would have made their life much easier. This is an error usually made by people coming from a C background, or those…