Learn how to convert an app into a service without much of an effort using this simple, two-step, yet powerful Windows Service class called CSvcHandler.
Latest Visual C++ / C++ Articles - Page 2
Mandelbrot Using C++ AMP
This article implements a Mandelbrot renderer that is multiple times faster than a CPU-only implementation by using a new Microsoft technology called C++ AMP: Accelerated Massive Parallelism, introduced in the Visual C++ 11 Preview.
How to Make Fewer Errors at the Stage of Code Writing. Part N4
Andrey Karpov shares some useful observations on error patterns, touching upon the subject of handling rare and emergency conditions in programs.
How to Make Fewer Errors at the Stage of Code Writing. Part N3.
This third article in the series discusses a couple of new programming methods that can help you make your code simpler and safer.
SSE2 Vectorization of Alphablend Code
Wong Shao Voon shows you how to use SSE2 to Speed up Alphablending.
How to Make Fewer Errors at the Stage of Code Writing. Part N2
This is the second article on avoiding certain errors at the early stage of code writing. In the previous post, we have already advised you to avoid a large number of calculations in one expression. However, we should investigate this question in detail. Let's see what's dangerous about complex expressions and how we can avoid many logical errors.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

How to use Visual Studio 2012 to Download Images from Websites
Learn how to use a for loop to loop through all of the images found on a web page and save them via the DownloadFile method of the WebClient object.

SOLID Principles in C# - An Overview
SOLID principles form the base for writing good and clean object oriented code in C#. Learn about the S.O.L.I.D principles and explore C# coding samples for each.


