Skip to content

Commit e742295

Browse files
author
Colin Robertson
committed
Fix up additional links
1 parent 7b63500 commit e742295

24 files changed

+402
-402
lines changed

docs/data/atl-database-classes-ole-db-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ For more information, see [OLE DB Programming](../data/oledb/ole-db-programming.
2828
[Creating an OLE DB Provider](../data/oledb/creating-an-ole-db-provider.md)<br/>
2929
[OLE DB Consumer Templates Reference](../data/oledb/ole-db-consumer-templates-reference.md)<br/>
3030
[OLE DB Provider Templates Reference](../data/oledb/ole-db-provider-templates-reference.md)<br/>
31-
[OLE DB Templates Samples](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB)
31+
[OLE DB Templates Samples](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB)

docs/data/oledb/commands-and-tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The [ATL OLE DB Consumer Wizard](../../atl/reference/atl-ole-db-consumer-wizard.
1919

2020
- For data sources that support commands, you can use the `CCommand` class instead. To execute a command, call [Open](../../data/oledb/ccommand-open.md) on this class. As an alternative, you can call `Prepare` to prepare a command that you want to execute more than once.
2121

22-
`CCommand` has three template arguments: an accessor type, a rowset type, and a result type (`CNoMultipleResults`, by default, or `CMultipleResults`). If you specify `CMultipleResults`, the `CCommand` class supports the `IMultipleResults` interface and handles multiple rowsets. The [DBVIEWER](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample shows how to handle the multiple results.
22+
`CCommand` has three template arguments: an accessor type, a rowset type, and a result type (`CNoMultipleResults`, by default, or `CMultipleResults`). If you specify `CMultipleResults`, the `CCommand` class supports the `IMultipleResults` interface and handles multiple rowsets. The [DBVIEWER](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample shows how to handle the multiple results.
2323

2424
## See also
2525

docs/data/oledb/determining-which-type-of-accessor-to-use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The following table lists the types of accessors provided in the consumer templa
2020
|`CDynamicAccessor`|Automatic.|No.|Useful if you don't know the type of data in a rowset.|
2121
|`CDynamicParameterAccessor`|Automatic, but can be [overridden](../../data/oledb/overriding-a-dynamic-accessor.md).|Yes, if the provider supports `ICommandWithParameters`. Parameters bound automatically.|Slower than `CDynamicAccessor` but useful for calling generic stored procedures.|
2222
|`CDynamicStringAccessor[A,W]`|Automatic.|No.|Retrieves data accessed from the data store as string data.|
23-
|`CManualAccessor`|Manual using `AddBindEntry`.|Manually using `AddParameterEntry`.|Fast; parameters and columns bound only once. You determine the type of data to use. (See [DBVIEWER](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample for an example.) Requires more code than `CDynamicAccessor` or `CAccessor`. It's more like calling OLE DB directly.|
23+
|`CManualAccessor`|Manual using `AddBindEntry`.|Manually using `AddParameterEntry`.|Fast; parameters and columns bound only once. You determine the type of data to use. (See [DBVIEWER](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample for an example.) Requires more code than `CDynamicAccessor` or `CAccessor`. It's more like calling OLE DB directly.|
2424
|`CXMLAccessor`|Automatic.|No.|Retrieves data accessed from the data store as string data and formats it as XML-tagged data.|
2525

2626
## See also

docs/data/oledb/idbschemarowsetimpl-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,4 @@ The implementation of this function requires the user to have a schema map in th
254254
[Schema Rowset Classes and Typedef Classes](../../data/oledb/schema-rowset-classes-and-typedef-classes.md)<br/>
255255
[Supporting Schema Rowsets](../../data/oledb/supporting-schema-rowsets.md)<br/>
256256
[SCHEMA_ENTRY](../../data/oledb/schema-entry.md)<br/>
257-
[UpdatePV](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Provider)
257+
[UpdatePV](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Provider)

docs/data/oledb/obtaining-metadata-with-schema-rowsets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For the reference of the schema rowset, typedef classes provided in the OLE DB T
7575

7676
For more information about OLE DB schema rowsets, including restriction columns, see [Appendix B: Schema Rowsets](/previous-versions/windows/desktop/ms712921(v=vs.85)) in the **OLE DB Programmer's Reference**.
7777

78-
For more complex examples of how to use schema rowset classes, see the [CatDB](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) and [DBViewer](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) samples.
78+
For more complex examples of how to use schema rowset classes, see the [CatDB](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) and [DBViewer](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) samples.
7979

8080
For information about provider support for schema rowsets, see [Supporting Schema Rowsets](../../data/oledb/supporting-schema-rowsets.md).
8181

docs/data/oledb/ole-db-programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Also, you can use attributes to implement the OLE DB consumer templates.
1919
|OLE DB templates classes and macros|[OLE DB Templates Reference](../../data/oledb/ole-db-templates.md) (Visual C++)|
2020
|OLE DB consumer attributes|[OLE DB Consumer Attributes](../../windows/ole-db-consumer-attributes.md)|
2121
|OLE DB interfaces|[OLE DB programmer's reference](/sql/connect/oledb/oledb-driver-for-sql-server) (in the Windows SDK)|
22-
|OLE DB templates samples|[OLE DB Templates Samples](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB)|
22+
|OLE DB templates samples|[OLE DB Templates Samples](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB)|
2323
|Data access programming overview (Visual C++)|[Data Access Programming](../../data/data-access-programming-mfc-atl.md)|
2424
|ODBC conceptual topics|[Open Database Connectivity (ODBC)](../../data/odbc/open-database-connectivity-odbc.md)|
2525

docs/data/oledb/ole-db-templates-attributes-and-other-implementations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For more information, you can:
2626

2727
- See the list of [OLE DB consumer classes](../../data/oledb/ole-db-consumer-templates-reference.md) or [OLE DB provider classes](../../data/oledb/ole-db-provider-templates-reference.md).
2828

29-
- See the list of [OLE DB templates samples](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB).
29+
- See the list of [OLE DB templates samples](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB).
3030

3131
- See [OLE DB Programmer's Reference](/sql/connect/oledb/ole-db/oledb-driver-for-sql-server-programming) (in the Windows SDK).
3232

docs/data/oledb/using-manual-accessors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To do these things with the OLE DB Consumer Templates, use the `CManualAccessor`
3434
3535
1. Call `GetNextResult` to determine if more rowsets are available. Repeat steps 2 through 5.
3636
37-
For an example of a manual accessor, see `CDBListView::CallProcedure` in the [DBVIEWER](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample.
37+
For an example of a manual accessor, see `CDBListView::CallProcedure` in the [DBVIEWER](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample.
3838
3939
## See also
4040

docs/data/oledb/working-with-ole-db-consumer-templates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ For an example of creating and implementing an OLE DB Consumer, see [Creating a
4444

4545
You can also find examples of how to use the OLE DB Consumer Templates in the following samples:
4646

47-
- [CatDB](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
47+
- [CatDB](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
4848

49-
- [DBViewer](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
49+
- [DBViewer](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
5050

51-
- [MultiRead](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
51+
- [MultiRead](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
5252

5353
## See also
5454

docs/mfc/containers-advanced-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The article [Servers: Implementing a Server](../mfc/servers-implementing-a-serve
2626

2727
For example, the MFC OLE sample [OCLIENT](../overview/visual-cpp-samples.md) has embedded an item created by your container/server application. You open the OCLIENT application and in-place edit the item created by your container/server application. While editing your application's item, you decide you want to embed an item created by the MFC OLE sample [HIERSVR](../overview/visual-cpp-samples.md). To do this, you cannot use in-place activation. You must fully open HIERSVR to activate this item. Because the Microsoft Foundation Class Library does not support this OLE feature, overriding `COleClientItem::CanActivate` allows you to check for this situation and prevent a possible run-time error in your application.
2828

29-
If you are creating a new application and want it to function as a container/server application, choose that option in the OLE Options dialog box in the application wizard and this support will be created automatically. For more information, see the article [Overview: Creating an ActiveX Control Container](../mfc/reference/creating-an-mfc-activex-control-container.md). For information about MFC samples, see [MFC Samples](../overview/visual-cpp-samples.md).
29+
If you are creating a new application and want it to function as a container/server application, choose that option in the OLE Options dialog box in the application wizard and this support will be created automatically. For more information, see the article [Overview: Creating an ActiveX Control Container](../mfc/reference/creating-an-mfc-activex-control-container.md). For information about MFC samples, see [MFC Samples](../overview/visual-cpp-samples.md#mfc-samples).
3030

3131
Note that you cannot insert an MDI application into itself. An application that is a container/server cannot be inserted into itself unless it is an SDI application.
3232

docs/mfc/drawing-in-a-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In this example, you would define the `GetData` function as a member of your der
2828

2929
The example prints whatever string it gets from the document, centered in the view. If the `OnDraw` call is for screen drawing, the `CDC` object passed in *pDC* is a `CPaintDC` whose constructor has already called `BeginPaint`. Calls to drawing functions are made through the device-context pointer. For information about device contexts and drawing calls, see class [CDC](../mfc/reference/cdc-class.md) in the *MFC Reference* and [Working with Window Objects](../mfc/working-with-window-objects.md).
3030

31-
For more examples of how to write `OnDraw`, see the [MFC Samples](../overview/visual-cpp-samples.md).
31+
For more examples of how to write `OnDraw`, see the [MFC Samples](../overview/visual-cpp-samples.md#mfc-samples).
3232

3333
## See also
3434

docs/mfc/general-mfc-topics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The MFC framework is a powerful approach that lets you build upon the work of ex
1414

1515
## In This Section
1616

17-
[MFC Samples](../overview/visual-cpp-samples.md)
17+
[MFC Samples](../overview/visual-cpp-samples.md#mfc-samples)
1818

1919
[Using the MFC Source Files](../mfc/using-the-mfc-source-files.md)
2020

docs/mfc/mfc-concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ Covers the MFC implementation of Windows Sockets.
5959
[MFC Reference](../mfc/mfc-desktop-applications.md)<br/>
6060
Provides reference material for the MFC Library, a set of classes that constitute an application framework, which is the framework of an application written for the Windows API.
6161

62-
[MFC Samples](../overview/visual-cpp-samples.md)<br/>
63-
Provides samples that show how to use MFC in desktop applications, DLLs, database applications, controls, Web applications, and more.
62+
[MFC Samples](../overview/visual-cpp-samples.md#mfc-samples)<br/>
63+
Provides links to samples that show how to use MFC in desktop applications, DLLs, database applications, controls, Web applications, and more.

docs/mfc/mfc-desktop-applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Describes the MFC hierarchy chart by category.
6868
[ATL/MFC Shared Classes](../atl-mfc-shared/atl-mfc-shared-classes.md)<br/>
6969
Provides links to classes that are shared between MFC and ATL.
7070

71-
[MFC Samples](../overview/visual-cpp-samples.md)<br/>
71+
[MFC Samples](../overview/visual-cpp-samples.md#mfc-samples)<br/>
7272
Provides links to samples that demonstrate how to use MFC.
7373

7474
[Visual C++ Libraries Reference](../standard-library/cpp-standard-library-reference.md)<br/>

docs/mfc/multiple-document-types-views-and-frame-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following figure, divided into parts a, b, and c, shows the three user-inter
4949
![Multiple&#45;view user interfaces](../mfc/media/vc37a71.gif "Multiple&#45;view user interfaces") <br/>
5050
Multiple-View User Interfaces
5151

52-
The framework provides these models by implementing the New Window command and by providing class [CSplitterWnd](../mfc/reference/csplitterwnd-class.md), as discussed in [Splitter Windows](#_core_splitter_windows). You can implement other models using these as your starting point. For sample programs that illustrate different configurations of views, frame windows, and splitters, see [MFC Samples](../overview/visual-cpp-samples.md).
52+
The framework provides these models by implementing the New Window command and by providing class [CSplitterWnd](../mfc/reference/csplitterwnd-class.md), as discussed in [Splitter Windows](#_core_splitter_windows). You can implement other models using these as your starting point. For sample programs that illustrate different configurations of views, frame windows, and splitters, see [MFC Samples](../overview/visual-cpp-samples.md#mfc-samples).
5353

5454
For more information about `UpdateAllViews`, see class [CView](../mfc/reference/cview-class.md) in the *MFC Reference* and the [Scribble sample](../overview/visual-cpp-samples.md).
5555

@@ -65,7 +65,7 @@ Dynamic splitter windows, with views of the same class, allow the user to split
6565

6666
Static splitter windows, with views of different classes, start with the window split into multiple panes, each with a different purpose. For example, in the Visual C++ bitmap editor, the image window shows two panes side by side. The left-hand pane displays a life-sized image of the bitmap. The right-hand pane displays a zoomed or magnified image of the same bitmap. The panes are separated by a "splitter bar" that the user can drag to change the relative sizes of the panes. A static splitter window is shown in part c of the figure Multiple-View User Interfaces.
6767

68-
For more information, see class [CSplitterWnd](../mfc/reference/csplitterwnd-class.md) in the *MFC Reference* and [MFC Samples](../overview/visual-cpp-samples.md).
68+
For more information, see class [CSplitterWnd](../mfc/reference/csplitterwnd-class.md) in the *MFC Reference* and [MFC Samples](../overview/visual-cpp-samples.md#mfc-samples).
6969

7070
## See also
7171

docs/mfc/reference/creating-a-web-browser-style-mfc-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void CWebView::OnInitialUpdate()
5858

5959
## See also
6060

61-
[MFC Sample MFCIE](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/MFC/internet)<br/>
61+
[MFC Sample MFCIE](https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/MFC/internet)<br/>
6262
[MFC Application Wizard](../../mfc/reference/mfc-application-wizard.md)<br/>
6363
[Set compiler and build properties](../../build/working-with-project-properties.md)<br/>
6464
[Property Pages](../../build/reference/property-pages-visual-cpp.md)<br/>

docs/mfc/reference/structures-styles-callbacks-and-message-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ Describes the message mapping macros and `CWnd` message-map entries.
2727
[Class Library Overview](../../mfc/class-library-overview.md)<br/>
2828
Lists the classes in the MFC Library according to category.
2929

30-
[MFC Samples](../../overview/visual-cpp-samples.md)<br/>
30+
[MFC Samples](../../overview/visual-cpp-samples.md#mfc-samples)<br/>
3131
Provides links to samples that demonstrate using the MFC Library.

docs/mfc/windows-sockets-socket-notifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ You can take advantage of these notifications by overriding the notification fun
3232
During an operation such as receiving or sending data, a `CSocket` object becomes synchronous. During the synchronous state, any notifications meant for other sockets are queued while the current socket waits for the notification it wants. (For example, during a `Receive` call, the socket wants a notification to read.) Once the socket completes its synchronous operation and becomes asynchronous again, other sockets can begin receiving the queued notifications.
3333

3434
> [!NOTE]
35-
> In `CSocket`, the `OnConnect` notification function is never called. For connections, you call `Connect`, which will return when the connection is completed (either successfully or in error). How connection notifications are handled is an MFC implementation detail.
35+
> In `CSocket`, the `OnConnect` notification function is never called. For connections, you call `Connect`, which will return when the connection is completed (either successfully or in error). How connection notifications are handled is an MFC implementation detail.
3636
37-
For details about each notification function, see the function under class `CAsyncSocket` in the *MFC Reference*. For source code and information about MFC samples, see [MFC Samples](../overview/visual-cpp-samples.md).
37+
For details about each notification function, see the function under class `CAsyncSocket` in the *MFC Reference*. For source code and information about MFC samples, see [MFC Samples](../overview/visual-cpp-samples.md#mfc-samples).
3838

3939
For more information, see:
4040

0 commit comments

Comments
 (0)