Click here to Skip to main content
15,896,111 members
Articles / Desktop Programming / ATL

Elevating your application for dummies: A step-by-step guide to elevate and write in the Registry

Rate me:
Please Sign up or sign in to vote.
5.00/5 (10 votes)
8 Apr 2009CPOL3 min read 44K   411   30  
We are going to enable your application to write entries in HKEY_LOCAL_MACHINE, elevating your application when necessary.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Elevator", "Elevator\Elevator.vcproj", "{5D9D0F58-C993-47D0-8613-2820CE12B1E5}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ElevatorPS", "Elevator\ElevatorPS.vcproj", "{F7D77179-F1AC-4663-A102-7B72F44D194E}"
	ProjectSection(ProjectDependencies) = postProject
		{5D9D0F58-C993-47D0-8613-2820CE12B1E5} = {5D9D0F58-C993-47D0-8613-2820CE12B1E5}
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{5D9D0F58-C993-47D0-8613-2820CE12B1E5}.Debug|Win32.ActiveCfg = Debug|Win32
		{5D9D0F58-C993-47D0-8613-2820CE12B1E5}.Debug|Win32.Build.0 = Debug|Win32
		{5D9D0F58-C993-47D0-8613-2820CE12B1E5}.Release|Win32.ActiveCfg = Release|Win32
		{5D9D0F58-C993-47D0-8613-2820CE12B1E5}.Release|Win32.Build.0 = Release|Win32
		{F7D77179-F1AC-4663-A102-7B72F44D194E}.Debug|Win32.ActiveCfg = Debug|Win32
		{F7D77179-F1AC-4663-A102-7B72F44D194E}.Release|Win32.ActiveCfg = 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)


Written By
Software Developer Dreaming With Objects S.L.
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions