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 726 through 732 of 732
Prev | First
  The time now is 8:22:43 PM ET.
Any comment problems? E-mail us
#726 By 4240821 (185.100.168.238) at 12/6/2025 2:56:56 AM
https://telegra.ph/Johannes-B-Kerners-Bold-Move-Revolutionizing-the-Tech-Industry-12-05
https://telegra.ph/Geike-Arnaerts-Bold-Move-Dutch-Star-Secures-Historic-Victory-in-UEFA-Womens-Euro-12-05
https://telegra.ph/Claude-Shatters-Records-AI-Breakthrough-Leaves-Experts-Stunned-12-05
https://telegra.ph/Cloudflare-Unveils-Next-Gen-Shield-Against-Global-Cyber-Attacks-12-05
https://telegra.ph/Václav-Šandas-Bold-Move-A-Game-Changer-in-the-Political-Arena-12-05
https://telegra.ph/Arthur-Leclerc-Ferraris-Rising-Star-Ignites-F2-Championship-Storm-12-05
https://telegra.ph/Chanteuse-Santa-Ignites-Holiday-Stage-with-Unforgettable-Performance-12-05
https://telegra.ph/Diana-Porsche-Turns-Heads-as-the-Ultimate-Icon-of-Style-and-Grace-12-05
https://telegra.ph/Jean-Pierre-Foucaults-Unexpected-Return-Sparks-Debate-on-Japanese-Cultural-Influence-12-05
https://telegra.ph/Schlotterbeck-Shatters-Expectations-with-Record-Breaking-Performance-12-05

#727 By 4240821 (185.100.168.238) at 12/6/2025 4:37:25 PM
https://telegra.ph/Suns-vs-Spurs-Western-Conference-Clash-11-24
https://telegra.ph/Alfonso-Cabeza-Unveils-Revolutionary-Tech-Breakthrough-Shaking-Up-the-Industry-11-24
https://telegra.ph/Rotterdam-Faces-Major-Stroomstoring-Power-Outages-Disrupt-City-Life-11-24-2
https://telegra.ph/Nightlife-Ignites-as-emiliano-Sparks-a-Citywide-Firestorm-11-24
https://telegra.ph/Heatwave-Alert-jimmy-cliff-Unleashes-Explosive-Reggae-Comeback-That-Shakes-the-Charts-11-24-5
https://telegra.ph/Adriaan-van-den-Hoofs-Bold-Move-Revolutionizing-the-Tech-Industry-11-24-2
https://telegra.ph/Udo-Kiers-Unbelievable-Transformation-From-Horror-Icon-to-Hollywood-Star-11-24-3
https://telegra.ph/Social-Security-Administration-Unveils-Bold-New-Plan-to-Secure-Future-Benefits-11-24
https://telegra.ph/Cis-catalán-Sparks-Global-Firestorm-as-Identity-Takes-Center-Stage-11-24
https://telegra.ph/Dharmendra-Unleashes-Explosive-Comeback-Fans-Go-Wild-11-24-2

#728 By 4240821 (185.100.168.238) at 12/6/2025 6:55:15 PM
https://sexonly.su/activf1dh243413
https://smutty.su/activcg5af2c31a
https://sexonly.top/activ3ecag3badc
https://sexonly.su/activf2g4f5h3he
https://sluts.su/activ1faddc3a4a
https://sluts.su/activchh3hagcb5
https://smutty.su/activ22hfeg5b1g
https://lustful.su/activbfdeefe53e
https://sexonly.top/activaabda3b1ee
https://nsfw.su/activff21h43h42

#729 By 4240821 (185.232.205.236) at 12/9/2025 3:59:41 PM
https://telegra.ph/Juventus-Sets-New-Standard-with-Revolutionary-Defensive-Strategy-11-25
https://telegra.ph/Chelsea-Barcelona-Showdown-Sparks-Thunderous-Night-of-Drama-11-25
https://telegra.ph/Viaplay-Unveils-Groundbreaking-Original-Series-Promising-Streaming-Revolution-11-25
https://telegra.ph/Explosive-comeback-seals-victory-for-bodö-glimt-shaking-up-the-league-11-25
https://telegra.ph/Dortmunds-Last-Gasp-Victory-Sparks-Frenzy-as-Villarreal-Fights-Back-to-the-Wire-11-25
https://telegra.ph/ferran-torres-Sparks-Stunning-Comeback-as-Team-Clinches-Title-in-Last-Second-Thriller-11-25
https://telegra.ph/CFO-Surprises-Investors-with-25-Revenue-Surge-Forecasts-Breakthrough-Growth-11-25
https://telegra.ph/Manchester-City-Triumphs-Over-Leverkusen-in-Thrilling-European-Clash-11-25
https://telegra.ph/galatasaray-stun-rivals-with-stoppage-time-heroics-to-clinch-dramatic-derby-win-11-25-2
https://telegra.ph/Yalla-Shoot-4Goal-Miracle-Reverses-Final-Standings-11-25

#730 By 4240821 (185.232.205.236) at 12/9/2025 7:22:55 PM
https://telegra.ph/Revolutionary-Breakthrough-Ketamines-Surprising-New-Role-in-Treating-Depression-12-04
https://telegra.ph/BREAKING-Luana-Lopes-Lara-Exposed-in-Global-Corruption-Scandal-12-04
https://telegra.ph/Lincoln-Lewis-Signs-Major-Deal-for-New-TV-Series-12-04
https://telegra.ph/Love-Actually-The-Unexpected-Places-Where-Modern-Romance-Blooms-12-04
https://telegra.ph/Major-Kekse-Rückruf-Alert-Dangerous-Cookie-Recall-Issued-Nationwide-12-04
https://telegra.ph/Sonnenflecken-Surge-Solar-Storms-Threaten-Earths-Tech-Grid-12-04
https://telegra.ph/Matthew-Perrys-Shocking-Sobriety-Journey-From-Dark-Days-to-Redemption-12-04
https://telegra.ph/Sean-Combs-Arrested-in-Major-Drug-Raid-at-His-Home-12-04
https://telegra.ph/Danielle-Collins-Ignites-Tennis-World-with-Stunning-Upset-Victory-at-US-Open-12-04
https://telegra.ph/Helicopter-Crash-in-Valtellina-Elicottero-Plunges-into-Lake-12-04

#731 By 4240821 (185.133.173.206) at 12/10/2025 8:53:17 AM
https://telegra.ph/atp-Breakthrough-Unleashes-Unprecedented-Cellular-Power-11-27-3
https://telegra.ph/Lainey-Wilson-Breaks-Records-with-Chart-Topping-Hit-and-Electrifies-Country-Music-Scene-11-27
https://telegra.ph/Oyarzabal-lights-up-the-season-with-a-sensational-hat-trick-as-the-title-race-heats-up-11-27
https://telegra.ph/Bitcoin-price-surges-to-new-all-time-high-amid-bullish-market-trends-11-27
https://telegra.ph/Rocio-Flores-Unleashes-Game-Changing-Reveal-Sparks-Global-Fever-11-27-2
https://telegra.ph/Sonia-Dahmani-Dazzles-the-World-with-Groundbreaking-Tech-Reveal-11-27
https://telegra.ph/Bologna-Salisburgo-Sparks-Explosive-Night-as-Underdogs-Deliver-Stunning-European-Upset-11-27
https://telegra.ph/håndball-vm-Explodes-With-Night-of-Thunder-as-Underdogs-Stun-World-Champs-11-27
https://telegra.ph/Last-Minute-Miracle-as-europa-league-spiele-Sparks-Stunning-Comeback-for-Underdogs-11-27
https://telegra.ph/Unbelievable-Deals-Arrive-in-the-black-friday-sale-as-Prices-Plummet-Across-All-Categories-11-27

#732 By 4240821 (185.133.173.206) at 12/12/2025 7:18:54 AM
https://telegra.ph/Euro-TL-surges-to-record-highs-amid-shifting-global-markets-11-28
https://telegra.ph/David-Harbour-Sparks-Frenzy-With-Shocking-Return-in-New-Trailer-11-28
https://telegra.ph/St-Vincent-Elections-2025-Voters-Brace-for-Change-as-Campaigns-Clash-in-a-High-Stakes-Race-11-28
https://telegra.ph/Fredrik-Solvangs-Bold-Move-Revolutionizing-the-Tech-Industry-11-28
https://telegra.ph/Immunizations-Spark-a-National-Health-Boom-as-Outbreaks-Retreat-11-28
https://telegra.ph/Andrés-Gudiño-Rising-Star-Transforming-the-Future-of-Sustainable-Design-11-28
https://telegra.ph/Unmissable-Black-Friday-Deals-That-Will-Transform-Your-Shopping-Experience-11-28-3
https://telegra.ph/Americas-Hidden-Gem-Medellín-Sparks-a-Cultural-Revolution-11-28-2
https://telegra.ph/Unbelievable-Black-Friday-Deals-Transform-Shopping-Spree-into-Savings-Extravaganza-11-28-4
https://telegra.ph/Qatar-Unveils-Revolutionary-Sustainability-Initiative-Ahead-of-2026-World-Cup-11-28

Write Comment
Return to News
  Displaying 726 through 732 of 732
Prev | First
  The time now is 8:22:43 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *