Sign in
|
Help
Peter Ritchie's MVP Blog
This is not a life-saving device.
This Blog
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Tags
.NET 2.0
.NET 3.5
.NET 3.x
.NET Development
C#
C# 3.0
C# 3.0 Breaking Changes
C# Nugget
C++
Design/Coding Guidance
DevCenterPost
Framework Bugs
General
Interesting Find
Microsoft
MVP
Non-development
OOD
Patterns
Pontification
Resharper
Software Development
Visual Studio 2005
Visual Studio 2008
WinForms
News
Twitter Updates
Community
Home
Blogs
Media
Groups
Email Notifications
Go
Archives
September 2008 (2)
August 2008 (8)
July 2008 (8)
June 2008 (5)
May 2008 (8)
April 2008 (1)
March 2008 (4)
February 2008 (6)
January 2008 (4)
December 2007 (4)
November 2007 (1)
October 2007 (4)
September 2007 (2)
August 2007 (3)
July 2007 (2)
June 2007 (4)
May 2007 (5)
April 2007 (2)
March 2007 (4)
February 2007 (3)
January 2007 (1)
November 2006 (2)
October 2006 (5)
September 2006 (6)
August 2006 (2)
July 2006 (7)
March 2006 (1)
Nuggets
.NET 2.0 Breaking Changes
Visual Studio and .NET Framework Feedback
Microsoft Developer Network Forums
Interesting Blogs
Visual Studio Code Analysis Blog
Sara Ford's Blog
Me
Technorati Profile
Browse by Tags
All Tags
»
C++
»
Software Development
(
RSS
)
C#
Design/Coding Guidance
MFC
Monday, October 16, 2006 3:14 PM
Writing Solid Code
My apologies to Steve Maguire for "borrowing" a title. I constantly see code, examples, and advice that perpetuate unsafe coding practices. As programmers we have the habit of getting something to a "working" state and call it "done"...
Posted by
PeterRitchie
|
2 comment(s)
Filed under:
C#
,
Software Development
,
C++
,
Design/Coding Guidance
Thursday, September 28, 2006 1:19 PM
Has ANSI C/C++ Been Perpetuating Unsecure Computing?
Whatever Happened to sprintf(..., "%n", ...)? Strsafe.h: Safer String Handling in C Security Enhancements in the CRT Many 3rd party libraries model their API around the ANSI C/C++ libraries, introducing the capability of buffer overruns. Is...
Posted by
PeterRitchie
| with
no comments
Filed under:
Software Development
,
C++
Monday, September 25, 2006 9:48 AM
Save CBitmap to File
It has always astounded me why the CBitmap class never implemented saving to a file. Here's a nice and tidy way: #include <atlimage.h> #include <Gdiplusimaging.h> //... CBitmap bitmap; bitmap.CreateBitmap(width, height, 1, 32, rgbData...
Posted by
PeterRitchie
|
4 comment(s)
Filed under:
Software Development
,
MFC
,
C++