You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/basic-cstring-operations.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,10 @@ For information about converting CString objects to other string types, see [How
79
79
80
80
To use a CString with `wcout` you must explicitly cast the object to a `const wchar_t*` as shown in the following example:
81
81
82
-
```
82
+
```cpp
83
83
CString cs("meow");
84
84
85
-
wcout <<(const wchar_t*) cs <<endl;
86
-
85
+
wcout << (const wchar_t*) cs << endl;
87
86
```
88
87
89
88
Without the cast, `cs` is treated as a `void*` and `wcout` prints the address of the object. This behavior is caused by subtle interactions between template argument deduction and overload resolution which are in themselves correct and conformant with the C++ standard.
Copy file name to clipboardExpand all lines: docs/atl/reference/atl-ole-db-consumer-wizard.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,13 +74,13 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
74
74
75
75
**Other:** In **Connect timeout**, specify the number of seconds of idle time allowed before a timeout occurs. In **Access permissions**, specify the access permissions on the data connection.
76
76
77
-
For more information about advanced initialization properties, refer to the documentation provided with each specific OLE DB provider.
77
+
For more information about advanced initialization properties, refer to the documentation provided with each specific OLE DB provider.
78
78
79
79
-**All** tab
80
80
81
81
This tab displays a summary of the initialization properties for the data source and connection you have specified. You can edit these values.
82
82
83
-
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
83
+
Click **OK** to finish. The **Select Database Object** dialog box appears. From this dialog box, select the table, view, or stored procedure that the consumer will use.
Copy file name to clipboardExpand all lines: docs/atl/reference/options-atl-control-wizard.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,17 @@ The kind of control you want to create.
19
19
20
20
-**Composite control**: An ActiveX control that can contain (similar to a dialog box) other ActiveX controls or Windows controls. A composite control includes the following:
21
21
22
-
- A template for the dialog box that implements the composite control.
22
+
- A template for the dialog box that implements the composite control.
23
23
24
-
- A custom resource, REGISTRY, which automatically registers the composite control when invoked.
24
+
- A custom resource, REGISTRY, which automatically registers the composite control when invoked.
25
25
26
-
- A C++ class that implements the composite control.
26
+
- A C++ class that implements the composite control.
27
27
28
-
- A COM interface, exposed by the composite control.
28
+
- A COM interface, exposed by the composite control.
29
29
30
-
- An HTML test page containing the composite control.
30
+
- An HTML test page containing the composite control.
31
31
32
-
By default, this control sets [CComControlBase::m_bWindowOnly](../../atl/reference/ccomcontrolbase-class.md#m_bwindowonly) to true, to indicate that this is a windowed control. It implements a sink map. For more information, see [Support for DHTML Control](../../atl/atl-support-for-dhtml-controls.md).
32
+
By default, this control sets [CComControlBase::m_bWindowOnly](../../atl/reference/ccomcontrolbase-class.md#m_bwindowonly) to true, to indicate that this is a windowed control. It implements a sink map. For more information, see [Support for DHTML Control](../../atl/atl-support-for-dhtml-controls.md).
33
33
34
34
-**DHTML control**: An ATL DHTML control specifies the user interface, using HTML. The DHTML UI class contains a COM map. By default, this control sets [CComControlBase::m_bWindowOnly](../../atl/reference/ccomcontrolbase-class.md#m_bwindowonly) to true, to indicate that this is a windowed control.
Copy file name to clipboardExpand all lines: docs/build/how-to-configure-visual-cpp-projects-to-target-64-bit-platforms.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,18 +34,18 @@ You can use the project configurations in the Visual Studio IDE to set up C++ ap
34
34
35
35
- When the **New Solution Platform** dialog box is open while you set up a project to target a 64-bit platform, in the **Copy settings from** drop-down list, select **Win32**. These project settings are automatically updated on the project level:
36
36
37
-
- The [/MACHINE](../build/reference/machine-specify-target-platform.md) linker option is set to **/MACHINE:X64**.
37
+
- The [/MACHINE](../build/reference/machine-specify-target-platform.md) linker option is set to **/MACHINE:X64**.
38
38
39
-
-**Register Output** is turned OFF. For more information, see [Linker Property Pages](../ide/linker-property-pages.md).
39
+
-**Register Output** is turned OFF. For more information, see [Linker Property Pages](../ide/linker-property-pages.md).
40
40
41
-
-**Target Environment** is set to **/env x64**. For more information, see [MIDL Property Pages: General](../ide/midl-property-pages-general.md).
41
+
-**Target Environment** is set to **/env x64**. For more information, see [MIDL Property Pages: General](../ide/midl-property-pages-general.md).
42
42
43
-
-**Validate Parameters** is cleared and reset to the default value. For more information, see [MIDL Property Pages: Advanced](../ide/midl-property-pages-advanced.md).
43
+
-**Validate Parameters** is cleared and reset to the default value. For more information, see [MIDL Property Pages: Advanced](../ide/midl-property-pages-advanced.md).
44
44
45
-
- If **Debug Information Format** was set to **/ZI** in the Win32 project configuration, then it is set to **/Zi** in the 64-bit project configuration. For more information, see [/Z7, /Zi, /ZI (Debug Information Format)](../build/reference/z7-zi-zi-debug-information-format.md).
45
+
- If **Debug Information Format** was set to **/ZI** in the Win32 project configuration, then it is set to **/Zi** in the 64-bit project configuration. For more information, see [/Z7, /Zi, /ZI (Debug Information Format)](../build/reference/z7-zi-zi-debug-information-format.md).
46
46
47
-
> [!NOTE]
48
-
> None of these project properties are changed if they are overridden on the file level.
47
+
> [!NOTE]
48
+
> None of these project properties are changed if they are overridden on the file level.
0 commit comments