Click here to Skip to main content
15,896,154 members
Articles / Database Development / SQL Server

How to Integrate an OLE Object with SQL Server v2

Rate me:
Please Sign up or sign in to vote.
4.97/5 (20 votes)
22 Aug 2009CPOL5 min read 39.2K   229   24  
This article will give you an idea about how to integrate an OLE Object that is a COM+ API with SQL Server and write a message into a Windows event log.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OLEExample", "OLEExample\OLEExample.csproj", "{9AB22620-BEFC-47E1-82C0-59E8A91AC0D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComTest", "ComTest\ComTest.csproj", "{8887CAF2-6F8E-4332-8E05-D12B0D20915F}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{9AB22620-BEFC-47E1-82C0-59E8A91AC0D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{9AB22620-BEFC-47E1-82C0-59E8A91AC0D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{9AB22620-BEFC-47E1-82C0-59E8A91AC0D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{9AB22620-BEFC-47E1-82C0-59E8A91AC0D5}.Release|Any CPU.Build.0 = Release|Any CPU
		{8887CAF2-6F8E-4332-8E05-D12B0D20915F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{8887CAF2-6F8E-4332-8E05-D12B0D20915F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{8887CAF2-6F8E-4332-8E05-D12B0D20915F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{8887CAF2-6F8E-4332-8E05-D12B0D20915F}.Release|Any CPU.Build.0 = 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)



Comments and Discussions