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 701 through 706 of 706
Prev | First
  The time now is 2:10:49 PM ET.
Any comment problems? E-mail us
#701 By 4240821 (45.192.45.37) at 11/21/2025 7:23:47 PM
https://telegra.ph/Netflix-Sirens-Season-2-Rising-Tides-05-30
https://telegra.ph/Mystery-of-Notre-Dames-Hidden-Treasure-05-30
https://telegra.ph/Red-Sternberg-Mystery-and-Scandal-Unveiled-05-30
https://telegra.ph/Qinwen-Zheng-Rising-Star-in-Tennis-05-30
https://telegra.ph/Austin-Heatwave-Preventable-Disaster-or-Negligence-05-30
https://telegra.ph/Qinwen-Zheng-Tennis-Sensation-Rising-to-Fame-05-30
https://telegra.ph/Netflix-Sirens-Season-2-Inquiry-and-Details-05-30
https://telegra.ph/Clara-Tausons-Tennis-Career-Overview-05-30
https://telegra.ph/Faizan-Zaki-Wins-National-Spelling-Bee-05-30
https://telegra.ph/Knicks-Triumph-in-Game-7-Thriller-05-30

#702 By 4240821 (82.115.4.230) at 11/21/2025 8:49:01 PM
https://smutty.su/activ4eedcghehe
https://nsfw.su/activg5d3135geb
https://nsfw.su/activ332b5hgeba
https://sexonly.su/activd3ce4g52h3
https://sexonly.su/activb41e5h22ch
https://lustful.su/activb13hab1cdh
https://smutty.su/activ5cdhb2244b
https://sluts.su/activ4d4ha5becf
https://lustful.su/activ42cg5h5he3
https://sluts.su/activ42fa341add

#703 By 4240821 (178.217.45.42) at 11/23/2025 9:38:18 AM
https://sexonly.top/activga45chee12
https://smutty.su/activc13c2aab33
https://smutty.su/activd35gf1cccf
https://lustful.su/activ2agbabghge
https://sluts.su/activ23b5bfefdd
https://smutty.su/activ2dcf12aehg
https://sexonly.top/activecbdabb1c1
https://nsfw.su/activgg1gbf1ae5
https://nsfw.su/active2451f3afe
https://smutty.su/activbc5a5h145a

#704 By 4240821 (178.217.45.42) at 11/23/2025 7:21:25 PM
https://nsfw.su/activcd5d2b2ad4
https://sexonly.su/activ451hcee4ba
https://sexonly.su/activah2234h3d1
https://lustful.su/activbbd4ch2h2h
https://sexonly.su/activ1fedh3434b
https://sexonly.su/activ1d4h31gdg3
https://lustful.su/activg4213223f1
https://sluts.su/activh2chehcfb5
https://nsfw.su/activa35b53d2ag
https://sexonly.top/activagb4a311g4

#705 By 4240821 (82.115.4.230) at 11/24/2025 8:44:35 PM
https://sexonly.su/activf2deb1dfh4
https://sexonly.top/activ155c4ageaa
https://nsfw.su/activ3c1hbd451c
https://nsfw.su/activ1dfbbe5bcd
https://sluts.su/activghcc4de12e
https://sexonly.top/activff325da1c3
https://lustful.su/activ2e2fdfh3ah
https://smutty.su/activaec2hd5f14
https://lustful.su/activ5dce2cg1c4
https://lustful.su/activdd4fgb335g

#706 By 4240821 (82.115.4.230) at 11/25/2025 1:56:36 PM
https://nsfw.su/activ1151fgbhad
https://sluts.su/activ532cdec43d
https://nsfw.su/activagcb1gcc42
https://lustful.su/activceb4gbff5d
https://sexonly.top/activfee2fbg11f
https://nsfw.su/activ2d1f3bf354
https://nsfw.su/active42eb1232c
https://sexonly.su/activ425g31cg2g
https://sexonly.su/activaghf5422be
https://sluts.su/activ11ga5h1513

Write Comment
Return to News
  Displaying 701 through 706 of 706
Prev | First
  The time now is 2:10:49 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *