How to locate and replace special characters in an XML string with Visual C++ and WinRT

Hi Community, I hope you all had a well-deserved Christmas break  A couple of days ago I began writing an article for MSDN Magazine. The article is about Metro, Windows 8 and interop between Win32  and WinRT. One of the most frequent and error prone operation is “String manipulation”, due to the possibility of a […]

Continue Reading

Microsoft Visual C++ MVP Award for 2012

G’day community, Firstly, I’d like to wish you all a happy new year 2012, full of health, blessings & success Secondly, I’m happy to announce that Microsoft has awarded me with an MVP (8th consecutive year) in the Visual C++ category, therefore I’d like to thank God, community & fellow developers, Microsoft and the MVP […]

Continue Reading

Some new features in Windows 8 Developer Preview

Hi Community, I’m very excited about learning WinRT, in the same way I was some years ago while learning Win32 The upcoming releases of Windows & Visual C++ come with a bunch of cool technologies and new features. Some of these new features are available in  Windows 8 Developer Preview (as shown in  the images […]

Continue Reading

Differences between C++ Templates and C# Generics

Hi Community, Yesterday during my presentation at TechEd I was asked by someone in the audience, if C# Generics were similar to C++ templates and I said… “The syntax might be similar but they’re different, and C++ templates have been with us for a long time now, actually… C# has borrowed from some other languages […]

Continue Reading

Carmichael’s numbers generator – C#

Hi community, Please find below a code snippet I wrote last night for generating the Carmichael’s numbers. This demo was written in C# and it implements TPL to take advantage of multiple processors. It is intended to be demoed at Tech-Ed Australia along with its counterpart written in C++ implementing PPL. See you in two […]

Continue Reading