Browse by Tags

All Tags » C# (RSS)

Windows with C++: Windows Imaging Component (Part 1)

My latest column is now available in the April 2008 issue of MSDN Magazine. This is part 1 of a 3 part series about the Windows Imaging Component that ships with Windows Vista as well as the .NET Framework 3.0 and later. Windows with C++: Windows Imaging...
Posted by KennyKerr | with no comments
Filed under: , , , , ,

Parallel Programming with C++ – A New Series

Microsoft’s developer division has, at least publicly, been placing a lot of emphasis on making it easier for C# and VB developers to build scalable applications more easily. The Parallel Extensions CTP for .NET 3.5 is clear evidence of their commitment...
Posted by KennyKerr | with no comments

How to learn C++ (and Windows development)

Every few months I get asked for book recommendations for learning the C++ programming language and then how to get started with Windows programming with C++. I don’t buy into the “C++ in 10 days” school of learning but rather advice readers to read books...
Posted by KennyKerr | 13 comment(s)
Filed under: ,

Security: Applying Cryptography Using The CNG API In Windows Vista

My next article for MSDN Magazine is now available. Its part of the July 2007 issue of the magazine and covers the new cryptography platform introduced in Windows Vista. Security: Applying Cryptography Using The CNG API In Windows Vista Windows Vista...
Posted by KennyKerr | with no comments
Filed under: , , ,

Add watermarks to your Window Clippings images

I wrote this add-in last night using the .NET Framework mostly to serve as an example of how easy it is to write add-ins for Window Clippings , but also because I think it’s a useful add-in for those who like to add watermarks to their published images...
Posted by KennyKerr | 14 comment(s)
Filed under: ,

Beyond WinFX: Transactions, Aero Wizards, And Task Dialogs In Windows Vista

The July 2006 issue of MSDN Magazine features my latest article where I talk about some of the new native APIs introduced with Windows Vista. Beyond WinFX: Transactions, Aero Wizards, And Task Dialogs In Windows Vista What comes to mind when you think...
Posted by KennyKerr | 3 comment(s)
Filed under: , ,

Attributes That Do Nothing

Some attributes in the .NET Framework don’t do anything. That is, there mere existence decorating your assemblies (and their types and members) has no discernable impact on runtime behavior. They are not used by the CLR for things like serialization...
Posted by KennyKerr | 6 comment(s)
Filed under: , ,

The Linq between C# and C++

C# is the hot new language, unless you’re Don Box in which case it’s probably Ruby , but let’s pretend its C# for the purpose of this discussion. :) A future version of C# will allow you to write the following: int[] numbers = { 10,...
Posted by KennyKerr | 9 comment(s)
Filed under: , ,

Increment differences in C++ and C#

A friend was a bit surprised today to find that the postfix increment operator (i++) doesn’t always work exactly the same in both C++ and C#. I’m not a language lawyer and this is the kind of thing I usually file under “you shouldn’t...
Posted by KennyKerr | 13 comment(s)
Filed under: , ,

Demystifying Managed Code and Compiler Output

Since publishing my Introduction to MSIL series, I have received a number of questions related to compilers and IL. In this post I hope to address a number of those questions. Q How can I get the C++ compiler to produce IL? A The short answer is that...
Posted by KennyKerr | 2 comment(s)
Filed under: , ,
More Posts Next page »