Generate Output from T4 at Build Time

Text templates (aka T4) is a great feature in Visual Studio, that proves helpful in many scenarios. I use it for instance in developing Alchemy. However, it has a significant drawback: it does not generate code automatically when you build your solution. To build the files and generate their output you have to manually run … Read more

Finding Installed Applications with VC++

Finding applications installed on a machine (the ones that you see in Control Panel Add/Remove programs) could be a little bit tricky, because there isn’t a bulletproof API or method. Each of the available methods has its own weak points. WMI is slow and can actually be disabled on a machine. MSI API only shows … Read more

Chrome 11 Speech Input

This Wednesday Google released version 11 of the Chrome Browser. One of the most important addition was the support for speech recognition for English. One can enable speech recognition in an input field by adding the x-webkit-speech proprietary attribute, like in this example: <input type=”text” x-webkit-speech /> The result should look like this (of course, … Read more

MVP Global Summit 2011

The MVP Global Summit 2011 took place in Redmond and Bellevue at the beginning of March. This year I attended for the fifth time, and as usual it was a great time. Fellow MVPs, discussions with the Microsoft product groups, parties, everything made it worth it. And this year it was also a little bit … Read more

Parallel Programming for C++ Developers

Channel9 recently posted a video with the Parallel Computing Concurrency Runtime team talking, mainly, about tasks and continuations, new features to the Parallel Patterns Library. These are already available through the ConcRT Extra’s Sample Pack. You can watch the half hour interview with the team here. Besides the new stuff they shown, I particularly liked … Read more

IE9 – First Day Impressions

Today I decided to give a try to Internet Explorer 9, currently in the Release Candidate phase, and available to download at http://www.beautyoftheweb.com. These are the impressions after the first day. I used it for my usual browsing activity, such as email, search, facebook, etc. No benchmarking or things like that. Unfortunatelly, I can’t say … Read more

Alchemy in German

[Update] Alchemy 1.7.5 is out, with support for Italian. I have released Alchemy version 1.7.4 with support for German. No other changes were made to the game. Currently, the game is available in the following languages (except for English): Romanian, Dutch, Czech, Portuguese, Hungarian, French, Danish, German. I want to thank all those that volunteered … Read more

Windows Phone 7 Tutorials

Throughout January I have published on codeguru.com a series of articles about developing Silverlight applications for Windows Phone 7. Here is the list of articles: Windows Phone 7 Quick Tutorials: Part 1 – Hello World Windows Phone 7 Quick Tutorials: Part 2 – The Application Bar Windows Phone 7 Quick Tutorials: Part 3 – Page … Read more

Facebook in Pirate English

Well, if you didn’t know there was a Pirate English you can find it on facebook. Scroll to the bottom of the facebook page, click on the language link and select English (Pirate). A new world will unveil. For instance “What’s on your mind” becomes “What be troublin’ ye”, “Edit my Profile” becomes “Fix up … Read more