Skip to content

Commit 82c9c0b

Browse files
committed
Rename article to C / C++
1 parent 9222c33 commit 82c9c0b

2 files changed

Lines changed: 29 additions & 30 deletions

File tree

docs/connect/odbc/cpp-code-example-app-connect-access-sql-db.md

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: "C++ ODBC app accessing a SQL database"
3-
description: "This C++ sample application demonstrates how to use the ODBC APIs to connect to and access a SQL database."
2+
title: C / C++ ODBC app accessing a SQL database
3+
description: This C / C++ sample application demonstrates how to use the ODBC APIs to connect to and access a SQL database.
44
ms.custom: ""
5-
ms.date: "06/19/2020"
5+
ms.date: 01/11/2022
66
ms.prod: sql
77
ms.prod_service: connectivity
88
ms.reviewer: ""
@@ -15,8 +15,7 @@ ms.author: v-davidengel
1515

1616
[!INCLUDE [sql-asdb](../../includes/applies-to-version/sql-asdb.md)]
1717

18-
19-
This C++ sample application demonstrates how to use the ODBC APIs to connect to and access a SQL database.
18+
This C / C++ sample application demonstrates how to use the ODBC APIs to connect to and access a SQL database.
2019

2120
Between October 2013 and July 2019, this sample C++ ODBC application was downloaded 47,300 times. In July 2019, this application source was moved from Microsoft's Code Gallery to this webpage.
2221

@@ -29,7 +28,7 @@ Was: https://code.msdn.microsoft.com/windowsapps/ODBC-sample-191624ae/sourcecod
2928

3029
## A. ReadMe.txt
3130

32-
```
31+
```text
3332
Environment Where Tested
3433
===============================
3534
Visual Studio 2012
@@ -733,36 +732,36 @@ void HandleDiagnosticRecord (SQLHANDLE hHandle,
733732
734733
## C. odbcsql.sln code
735734
736-
```
735+
```text
737736
Microsoft Visual Studio Solution File, Format Version 12.00
738737
# Visual Studio Version 16
739738
VisualStudioVersion = 16.0.29230.47
740739
MinimumVisualStudioVersion = 10.0.40219.1
741740
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "odbcsql", "odbcsql.vcxproj", "{C5948D2C-C53D-4933-9AC5-48066AD6A560}"
742741
EndProject
743742
Global
744-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
745-
Debug|x64 = Debug|x64
746-
Debug|x86 = Debug|x86
747-
Release|x64 = Release|x64
748-
Release|x86 = Release|x86
749-
EndGlobalSection
750-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
751-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x64.ActiveCfg = Debug|x64
752-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x64.Build.0 = Debug|x64
753-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x86.ActiveCfg = Debug|Win32
754-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x86.Build.0 = Debug|Win32
755-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x64.ActiveCfg = Release|x64
756-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x64.Build.0 = Release|x64
757-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x86.ActiveCfg = Release|Win32
758-
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x86.Build.0 = Release|Win32
759-
EndGlobalSection
760-
GlobalSection(SolutionProperties) = preSolution
761-
HideSolutionNode = FALSE
762-
EndGlobalSection
763-
GlobalSection(ExtensibilityGlobals) = postSolution
764-
SolutionGuid = {32894C74-C0AE-427F-969B-5F757A98EAFF}
765-
EndGlobalSection
743+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
744+
Debug|x64 = Debug|x64
745+
Debug|x86 = Debug|x86
746+
Release|x64 = Release|x64
747+
Release|x86 = Release|x86
748+
EndGlobalSection
749+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
750+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x64.ActiveCfg = Debug|x64
751+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x64.Build.0 = Debug|x64
752+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x86.ActiveCfg = Debug|Win32
753+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Debug|x86.Build.0 = Debug|Win32
754+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x64.ActiveCfg = Release|x64
755+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x64.Build.0 = Release|x64
756+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x86.ActiveCfg = Release|Win32
757+
{C5948D2C-C53D-4933-9AC5-48066AD6A560}.Release|x86.Build.0 = Release|Win32
758+
EndGlobalSection
759+
GlobalSection(SolutionProperties) = preSolution
760+
HideSolutionNode = FALSE
761+
EndGlobalSection
762+
GlobalSection(ExtensibilityGlobals) = postSolution
763+
SolutionGuid = {32894C74-C0AE-427F-969B-5F757A98EAFF}
764+
EndGlobalSection
766765
EndGlobal
767766
```
768767

docs/connect/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3021,7 +3021,7 @@
30213021
href: ../connect/odbc/use-xa-with-dtc.md
30223022
- name: Bug Fixes
30233023
href: ../connect/odbc/bug-fixes.md
3024-
- name: C++ sample application
3024+
- name: C / C++ sample application
30253025
href: ../connect/odbc/cpp-code-example-app-connect-access-sql-db.md
30263026
# docs/odbc/
30273027
- name: ODBC advanced

0 commit comments

Comments
 (0)