Sign in
Angry Richard's WebLog
He's not as angry as he looks
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Pages
Profiling
Useless rants
Archive
Archives
December 2006
(1)
May 2006
(1)
October 2005
(1)
August 2005
(1)
July 2005
(2)
January 2005
(1)
August 2004
(1)
June 2004
(2)
May 2004
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Angry Richard's WebLog
How to shoot yourself in the foot with const (or the lack thereof)
Posted
over 7 years ago
by
Richard Wurdack
2
Comments
It has long puzzled me why various Win32 functions take non-const string parameters, when clearly they have no business manipulating the string. Take, for instance, GetNamedSecurityInfo: DWORD GetNamedSecurityInfo( LPTSTR pObjectName , SE_OBJECT_TYPE...
Page 1 of 1 (1 items)