C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
VC9 SP1 Hotfix For The vector<function<FT>> Crash
Back in August, I blogged about the TR1 fixes in VC9 SP1. An observant reader, grokbrsm, commented that vector<function<FT>> was broken by VC9 SP1. A hotfix for this bug is now available: Here is the updated link to download the hotfix: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=17034&wa=wsignin1.0 This hotfix actually fixes 5 bugs: 1. function<FT>::swap() was broken by the Small Functor Optimization in VC9 TR1 (the Feature Pack). This broke vector<function<FT>> in VC9 SP1. "Broken" meant "compi...
MSBuild Task
Hello again! My name is Li Shao. I am a Software Design Engineer in Test in the Visual C++ group. As one of my colleagues, Marian Luparu, has blogged in detail about, and Soma has mentioned in his recent blog as well, one of the important features we have in VS2010 is to enable C++ customers to build C++ applications using MSBuild. MSBuild (Microsoft Build Engine) is an extensible, XML-based build engine first shipped with Visual Studio 2005 and the .NET Framework 2.0. It is a core part of .NET Framework 2.0/3.0/3.5. It gives developers full control of their build process and provides a new XML based project fi...
VC++ are participating in a “Slow Chat” over at “Code Guru”
Hello Just a short note to let you know that members of VC++ are participating in a “Slow Chat” over at “Code Guru” this week. We always enjoy reading feedback and (hopefully) answering questions - and this gives us a different venue (and as they say “a change is as good as a holiday”.) http://www.codeguru.com/forum/forumdisplay.php?f=98 Please stop by and answer/ask a question if you have a minute! Thanks Damien
Inheriting From a Native C++ Class in C#
Hi, this is Jim Springfield, an architect on the Visual C++ team. I have blogged in the past about our IDE and Intellisense work. I am still heavily focused on that and we are working hard to deliver an improved experience, but this post is about a completely different topic. A few months ago, I started thinking about how to access C++ classes from managed code and came up with this technique, which I haven’t seen mentioned anywhere else.There are many ways that native code and managed code can interact and call each other. If you have native code that you want to call from C# you ha...
CTaskDialog: an alternative to the simple message box!
Hello everybody, Let me introduce myself, my name is Lukasz Chodorski and I am a new SDE in the Visual C++ Libraries Team. In this post I would like to present to you the CTaskDialog class which wraps the Windows API* in the MFC library. What actually is the CTaskDialog? It is a class/component which can be easily customized depending on your application’s needs. You can set following elements on the CTaskDialog: · Window title · Main icon · Main instruction · ...
Soma Blog: VC++ Enhancements in VS 2010
Recently, Soma, Vice President for the Microsoft Developer Division, blogged about the enhancements of Visual C++ in VS 2010. Please check out what he has to say and feel free to leave comments for him on our upcoming release. You can find this blog at http://blogs.msdn.com/somasegar/archive/2008/11/21/c-enhancements-in-vs-2010.aspx. Kelly EvansVisual C++ Development Team
printf(“Hello MSBuild!n”);
Hello everyone. I’m Marian Luparu and I am a Program Manager in the Visual C++ IDE team. Last week I was in Barcelona attending TechEd EMEA 2008 where I had two talks delving into the areas where the VC++ IDE team is making major investments in the upcoming release: · Building Visual C++ Applications - focusing on the Build System and the Project System changes and · Taming Massive Codebases using the Visual C++ IDE - discussing the architectural changes in the IDE Design Time experience (C++ edito...
Stupid Lambda Tricks
Hi. I’m Arjun Bijanki, the test lead for the compiler front-end and Intellisense engine. One afternoon a few months ago, I was sitting in my office in building 41 thinking about test passes, when an animated discussion between a couple of colleagues spilled into the hallway and grabbed my attention. My recollection is that Boris Jabes, whom some of you might have seen deliver the “10 is the new 6” talk at PDC last week, was trying to convince the other colleague that you could write an automatic memoization function for C++0x lambdas.I became intrigued.For those that haven&rsqu...
Channel9: Amit Mohindra – VS2010 CTP “10 is the new 6”,
HelloAmit has just done a Channel9 video on the VS2010 CTP, around our theme of “10 is the new 6”, please stop by and have a look: https://channel9.msdn.com/posts/VisualStudio/Visual-CPP-10-10-is-the-new-6/ ThanksDamien