C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
VC at the PDC
Hello Everyone on the VC team is getting really excited about the upcoming PDC in Los Angeles. This will be our first chance to show you some of our upcoming features and a great way for us to get feedback direct from you on what we have implemented so far and what we have planned. PDCs are always one of our most exciting events to speak at, given the forward looking nature of the program (and, to be truthful, we learn as much about what other teams are planning as attendees do sometimes!) Just wanted to add a small reminder that VC will be presenting two sessions at the PDC and invite any of you who will be...
Phoenix time reporting mechanisms
The Mallocator
A common question from programmers who have an intermediate amount of experience with using the STL is, "How do I write an STL allocator?". Writing an STL allocator is not especially difficult - only two member functions are interesting, allocate() and deallocate(). However, STL allocators must satisfy a number of other requirements (given by section 20.1.5 of the International Standard for C++, ISO/IEC 14882:2003), and the code to do so takes roughly 80 editor lines. Figuring out the code from the requirements can be overwhelming, but once you see the code, it's easy. One thing some progra...
Bugs fixed in MFC in Visual Studio 2008 SP1
Hello, everyone. This is Pat Brenner. I’m an SDE on the Visual C++ Libraries team.We’ve just released Visual Studio 2008 SP1, and it includes about 55 fixes to the MFC library. Many of these fixes are for the new features that were added in the Feature Pack, but others were bugs in the RTM version of Visual Studio 2008 that we have fixed. Here is a partial list of the issues that we addressed:· Some accessibility issues in toolbar and ribbon components were fixed.· Runn...
TR1 Fixes In VC9 SP1
STL enjoys speaking in the third person and also enjoys bringing you this exclusive news: Visual Studio 2008 Service Pack 1 (VC9 SP1) contains the TR1 and MFC library extensions that were originally released in the Visual C++ 2008 Feature Pack Refresh. But wait! VC9 SP1 also contains many delicious fixes for TR1 and MFC. (For TR1, "many" is 16; for MFC, "many" is 60 or more!) As the current maintainer of the C++ Standard Library and TR1 implementations within Microsoft, STL has compiled an exhaustive list of the TR1 fixes in VC9 SP1. But first! Shout-outs must be sent to P....
Visual Studio 2008 Service Pack 1 RTM Now Available
Today we are pleased to announce that Microsoft Visual Studio 2008 Service Pack 1 (SP1) is now available for download. Not only does this service pack include the Visual C++ 2008 Feature Pack but also addresses a range of issues found through customer and partner feedback. Issues found since SP1 beta have been fixed in the release. Some of the fixes are: In addition, a number of bugs found by our own internal testing have been fixed in this release. We are very excited to release the product and would like to thank you for the valuable feedback that we have received through the Connect website an...
IconWorkshop Lite Now Available for Download
Once you’ve built a great looking application, you’ll likely want to provide equally great looking icons and toolbar bitmaps. Unfortunately, the bitmap editing tools included in Visual Studio are far from state-of-the-art. They haven’t been updated for a long time and simply don’t provide a rich set of tools for designing quality images. Another problem is lack support for building standard Vista icons. Given the increases in monitor resolution, Vista introduced a new standard size for icons: 256x256. As icons of this size consume a lot of disc spac...
Testing Reverse Engineering Tools/Framework
Testing Reverse Engineering Tools/Framework Hello, I am Manish Vasani, a Software Design Engineer in Test on the Phoenix Analysis and Tools team. In this post, I’ll be giving a brief overview of the Phoenix Pereader-based Analysis tools with an emphasis on the difficulties traditionally involved in testing these types of tools and how Phoenix makes things much easier. For those not familiar with Pereader, it’s a Phoenix component that reads Portable Executable (PE) files and converts them to Intermediate Representation (IR). You can find more information on Pereader in the Phoenix SDK Documentation...
TechEd 2008 – meeting customers at the booth!
Hello, my name is Li Shao. I am a Software Design Engineer in Test in Visual C++ team. From June 3 to June 6, I had the opportunity to attend TechEd 2008 in Orlando along with two colleagues, Marian Luparu and Martha Wieczorek. Most of my time was spent at the Visual C++ Booth to answer customers’ questions. I also had the opportunity to work with Kate Gregory, one of our MVPs, at one booth secession. Here are some overall impressions based on the customers that I talked to: · Customers are really excited to know that we have new MFC function...