Click here to Skip to main content
15,886,137 members
Articles / Programming Languages / C++

Hooking the Real COM Objects: Intercepting IHTMLDocument3 Functions

Rate me:
Please Sign up or sign in to vote.
4.87/5 (19 votes)
15 Dec 2011CPOL10 min read 51.2K   1.4K   49  
This article presents a problem on hooking real COM objects and shows solutions on it.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IETest", "IETest.vcxproj", "{D208C5A7-32C0-6D97-1858-B57E5093DB55}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{D208C5A7-32C0-6D97-1858-B57E5093DB55}.Debug|Win32.ActiveCfg = Debug|Win32
		{D208C5A7-32C0-6D97-1858-B57E5093DB55}.Debug|Win32.Build.0 = Debug|Win32
		{D208C5A7-32C0-6D97-1858-B57E5093DB55}.Release|Win32.ActiveCfg = Release|Win32
		{D208C5A7-32C0-6D97-1858-B57E5093DB55}.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)


Written By
United States United States
I started to write software since 1999 and have developed various products including security solutions and system utilities.

Microsoft Visual C++ MVP
Assistant Professor at the University of Virginia
Website: http://yongkwon.info

Comments and Discussions