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 676 through 676 of 676
Prev | First
  The time now is 7:23:30 PM ET.
Any comment problems? E-mail us
#676 By 4240821 (82.115.4.230) at 11/8/2025 5:52:01 PM
https://lustful.su/activf2hd52hcgd
https://sexonly.top/activ4egha3eg3e
https://sluts.su/activfg5ec1cd53
https://lustful.su/activh4ccfd4c1h
https://sexonly.top/activg4acahe11h
https://sluts.su/activef43d42cad
https://smutty.su/activhec215ceb2
https://sluts.su/activ5b4d3hg2d1
https://sexonly.su/activeg1fgbaf5g
https://lustful.su/activh1ceac1ehb

Write Comment
Return to News
  Displaying 676 through 676 of 676
Prev | First
  The time now is 7:23:30 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *