Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Scoped Handle - "Smart pointer" for Windows objects

, 21 Jul 2010
Introduces a scoped handle template class to call delete handle methods automatically.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScopedHandleExample", "ScopedHandleExample.vcproj", "{D396734F-7A77-47A8-96C4-90D946FF557E}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{D396734F-7A77-47A8-96C4-90D946FF557E}.Debug|Win32.ActiveCfg = Debug|Win32
		{D396734F-7A77-47A8-96C4-90D946FF557E}.Debug|Win32.Build.0 = Debug|Win32
		{D396734F-7A77-47A8-96C4-90D946FF557E}.Release|Win32.ActiveCfg = Release|Win32
		{D396734F-7A77-47A8-96C4-90D946FF557E}.Release|Win32.Build.0 = Release|Win32
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Miki Rozloznik
Software Developer (Senior) Eccam s.r.o.
Czech Republic Czech Republic
Senior Sofware Developer focused on embedded systems.
Company website: http://www.eccam.com

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 21 Jul 2010
Article Copyright 2010 by Miki Rozloznik
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid