Click here to Skip to main content
15,884,846 members
Articles / Desktop Programming / ATL

A Beginner Tutorial for Writing Simple COM/ATL DLL For VS2012

Rate me:
Please Sign up or sign in to vote.
4.90/5 (30 votes)
19 Dec 2012CPOL9 min read 161.4K   5.4K   79  
Article touching simple programming instrument like Property, Method, Event and invoking ATL Dialogs from ATL/COM Component

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimpleATLCom", "SimpleATLCom\SimpleATLCom.vcxproj", "{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimpleATLComPS", "SimpleATLCom\SimpleATLComPS.vcxproj", "{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}"
	ProjectSection(ProjectDependencies) = postProject
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD} = {066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleATLComTest1", "SimpleATLComTest1\SimpleATLComTest1.csproj", "{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|Win32 = Debug|Win32
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Debug|Any CPU.ActiveCfg = Debug|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Debug|Mixed Platforms.Build.0 = Debug|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Debug|Win32.ActiveCfg = Debug|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Debug|Win32.Build.0 = Debug|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Release|Any CPU.ActiveCfg = Release|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Release|Mixed Platforms.ActiveCfg = Release|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Release|Mixed Platforms.Build.0 = Release|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Release|Win32.ActiveCfg = Release|Win32
		{066645EF-41DB-4D2F-BF6A-E2B005DA8DCD}.Release|Win32.Build.0 = Release|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Debug|Any CPU.ActiveCfg = Debug|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Debug|Mixed Platforms.Build.0 = Debug|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Debug|Win32.ActiveCfg = Debug|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Release|Any CPU.ActiveCfg = Release|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Release|Mixed Platforms.ActiveCfg = Release|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Release|Mixed Platforms.Build.0 = Release|Win32
		{116FF00E-8B0D-4DF0-A9EE-078F74F3EEA0}.Release|Win32.ActiveCfg = Release|Win32
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Release|Any CPU.Build.0 = Release|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{F6AD312F-FEDB-4088-8DA4-F4B159CBE7E8}.Release|Win32.ActiveCfg = Release|Any CPU
	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 (Senior)
India India
He used to have biography here Smile | :) , but now he will hire someone (for free offcourse Big Grin | :-D ), Who writes his biography on his behalf Smile | :)

He is Great Fan of Mr. Johan Rosengren (his idol),Lim Bio Liong, Nishant S and DavidCrow and Believes that, he will EXCEL in his life by following there steps!!!

He started with Visual C++ then moved to C# then he become language agnostic, you give him task,tell him the language or platform, he we start immediately, if he knows the language otherwise he quickly learn it and start contributing productively

Last but not the least, For good 8 years he was Visual CPP MSMVP!

Comments and Discussions