The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  MSDN Articles
Time: 03:30 EST/08:30 GMT | News Source: Microsoft | Posted By: Alex Harris

Strsafe.h: Safer String Handling in C

Keep your C code secure with strsafe.h functions, a set of safer string handling functions for the C programming language. (3 printed pages) During the Microsoft® Windows® Security Push, a group of testers, program managers, and programmers decided to define and create a set of safer string handling functions for the C programming language. The aim was to provide a set of functions that could be used by Windows developers and developers across Microsoft. Simply put, the existing C-runtime functions are not good enough in light of today's hostile environment. The current functions have inconsistent return values and parameters, truncation errors, and lack advanced functionality. Frankly, it is too easy to write code with buffer overruns when using the existing functions. We found that for C++ developers there are plenty of classes available in MFC (CString), ATL (CComBSTR), STL (string), and other class libraries that do string manipulation well. However, a lot of C code still exists today, and many people use C++ as a 'better C' and do not use classes.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/strsafe.asp

Real World Applications Sample, Part 1: Adding SDI, Single Instance, and a Forms Collection to Windows Forms

Details the conversion of a sample image browser to a real application in Microsoft .NET that runs as a single document interface (SDI) application similar to Microsoft Word; other features include a Window menu showing all the currently open windows, loading multiple images by running the application on the command line, and a reusable application framework library that you can use in your applications.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/reaworapps1.asp?frame=true

Write Comment
Return to News

  Displaying 776 through 779 of 779
Prev | First
  The time now is 4:18:33 PM ET.
Any comment problems? E-mail us
#776 By 4240821 (82.115.4.100) at 1/10/2026 11:18:05 AM
https://www.pillowfort.social/posts/6526920
https://www.pillowfort.social/posts/6526858
https://www.pillowfort.social/posts/6526769
https://www.pillowfort.social/posts/6526664
https://www.pillowfort.social/posts/6526574
https://www.pillowfort.social/posts/6526455
https://www.pillowfort.social/posts/6526341
https://www.pillowfort.social/posts/6526219
https://www.pillowfort.social/posts/6526051
https://www.pillowfort.social/posts/6525874

#777 By 4240821 (193.39.208.35) at 1/11/2026 3:57:37 AM
https://www.pillowfort.social/posts/6790376
https://www.pillowfort.social/posts/6790108
https://www.pillowfort.social/posts/6790044
https://www.pillowfort.social/posts/6789910
https://www.pillowfort.social/posts/6789814
https://www.pillowfort.social/posts/6789764
https://www.pillowfort.social/posts/6789660
https://www.pillowfort.social/posts/6789522
https://www.pillowfort.social/posts/6789362
https://www.pillowfort.social/posts/6789188

#778 By 4240821 (82.115.4.230) at 1/12/2026 6:45:51 AM
https://myvidplay.com/d/6ranp4mdkjfw
https://myvidplay.com/d/4bfsaq7n2nzv
https://myvidplay.com/d/9ov8whs00p0z
https://myvidplay.com/d/g77wcnzo8l5y
https://myvidplay.com/d/9jls0aigfcg9
https://myvidplay.com/d/phlbstfewp7s
https://myvidplay.com/d/0ilxzkfqthgh
https://myvidplay.com/d/ea5tglxs6cb3
https://myvidplay.com/d/ntm7ubba0ssj
https://myvidplay.com/d/d05o2chk1dfk

#779 By 4240821 (82.115.4.230) at 1/12/2026 7:25:36 AM
https://myvidplay.com/d/lw8xoyycj418
https://myvidplay.com/d/5fsms942yrjv
https://myvidplay.com/d/mmfefoj17xli
https://myvidplay.com/d/eeu8e9wzjwkp
https://myvidplay.com/d/20sbu22kvut8
https://myvidplay.com/d/6xoy1axdhj99
https://myvidplay.com/d/woe88g8wnhrn
https://myvidplay.com/d/k88zwwuxt3ua
https://myvidplay.com/d/2dwlonjzadko
https://myvidplay.com/d/hvznz3e4cyw1

Write Comment
Return to News
  Displaying 776 through 779 of 779
Prev | First
  The time now is 4:18:33 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *