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
{{ message }}
Repository navigation
Commit 42f4bde
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/atl/reference/atl-ole-db-consumer-wizard.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,23 +93,23 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
93
93
94
94
After you select a data source, this box is populated with a default class name based on the table or stored procedure that you selected (see **Select a data source** below). You can edit the class name.
95
95
96
-
-**.h file**
96
+
-**.h file**
97
97
98
98
After you select a data source, this box is populated with a default header class name based on the table or stored procedure that you selected (see **Select a data source** below). You can edit the header file's name or select an existing header file.
99
99
100
-
-**Attributed**
100
+
-**Attributed**
101
101
102
102
This option specifies whether the wizard will create consumer classes using attributes or template declarations. When you select this option, the wizard uses attributes instead of template declarations (this is the default option). When you deselect this option, the wizard uses template declarations instead of attributes.
103
103
104
104
- If you select a consumer **Type** of **Table**, the wizard uses the `db_source` and `db_table` attributes to create the table and table accessor class declarations, and uses `db_column` to create the column map. For example, it creates this map:
105
105
106
106
```cpp
107
-
// Inject table class and table accessor class declarations
- If you select a consumer **Type** of **Command**, the wizard uses the `db_source` and `db_command` attributes, and uses `db_column` to create the column map. For example, it creates this map:
Copy file name to clipboardExpand all lines: docs/build/manifest-generation-at-the-command-line.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,13 @@ ms.author: "corob"
12
12
ms.workload: ["cplusplus"]
13
13
---
14
14
# Manifest Generation at the Command Line
15
-
When building C/C++ applications from the command line using nmake or similar tools, the manifest is generated after the linker has processed all object files and built the final binary. The linker collects assembly information stored in the object files and combines this information into a final manifest file. By default the linker will generate a file named <binary_name>.\<extension>.manifest to describe the final binary. The linker does not embed a manifest file inside the binary and can only generate a manifest as an external file. There are several ways to embed a manifest inside the final binary, such as using the [Manifest Tool (mt.exe)](https://msdn.microsoft.com/library/aa375649) or compiling the manifest into a resource file. It is important to keep in mind that specific rules have to be followed when embedding a manifest inside the final binary to enable such features as incremental linking, signing, and edit and continue. These and other options are discussed in [How to: Embed a Manifest Inside a C/C++ Application](../build/how-to-embed-a-manifest-inside-a-c-cpp-application.md) when building on the command line.
[Strong Name Assemblies (Assembly Signing) (C++/CLI)](../dotnet/strong-name-assemblies-assembly-signing-cpp-cli.md)
21
-
[Edit and Continue](/visualstudio/debugger/edit-and-continue)
22
-
[Understanding Manifest Generation for C/C++ Programs](../build/understanding-manifest-generation-for-c-cpp-programs.md)
15
+
16
+
When building C/C++ applications from the command line using nmake or similar tools, the manifest is generated after the linker has processed all object files and built the final binary. The linker collects assembly information stored in the object files and combines this information into a final manifest file. By default the linker will generate a file named *binary_name*.*extension*.manifest to describe the final binary. The linker does not embed a manifest file inside the binary and can only generate a manifest as an external file. There are several ways to embed a manifest inside the final binary, such as using the [Manifest Tool (mt.exe)](https://msdn.microsoft.com/library/aa375649) or compiling the manifest into a resource file. It is important to keep in mind that specific rules have to be followed when embedding a manifest inside the final binary to enable such features as incremental linking, signing, and edit and continue. These and other options are discussed in [How to: Embed a Manifest Inside a C/C++ Application](../build/how-to-embed-a-manifest-inside-a-c-cpp-application.md) when building on the command line.
Copy file name to clipboardExpand all lines: docs/build/reference/allowisolation-manifest-lookup.md
+33-34Lines changed: 33 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,37 +13,36 @@ ms.author: "corob"
13
13
ms.workload: ["cplusplus"]
14
14
---
15
15
# /ALLOWISOLATION (Manifest Lookup)
16
-
Specifies behavior for manifest lookup.
17
-
18
-
## Syntax
19
-
20
-
```
21
-
/ALLOWISOLATION[:NO]
22
-
```
23
-
24
-
## Remarks
25
-
**/ALLOWISOLATION:NO** indicates DLLs are loaded as if there was no manifest and causes the linker to set the `IMAGE_DLLCHARACTERISTICS_NO_ISOLATION` bit in the optional header's `DllCharacteristics` field.
26
-
27
-
**/ALLOWISOLATION** causes the operating system to do manifest lookups and loads.
28
-
29
-
**/ALLOWISOLATION** is the default.
30
-
31
-
When isolation is disabled for an executable, the Windows loader will not attempt to find an application manifest for the newly created process. The new process will not have a default activation context, even if there is a manifest inside the executable or placed in the same directory as the executable with name <em>executable-name</em>**.exe.manifest**.
32
-
33
-
For more information, see [Manifest Files Reference](/windows/desktop/SbsCs/manifest-files-reference).
34
-
35
-
### To set this linker option in the Visual Studio development environment
36
-
37
-
1. Open the project's **Property Pages** dialog box. For details, see [Working with Project Properties](../../ide/working-with-project-properties.md).
**/ALLOWISOLATION:NO** indicates DLLs are loaded as if there was no manifest and causes the linker to set the `IMAGE_DLLCHARACTERISTICS_NO_ISOLATION` bit in the optional header's `DllCharacteristics` field.
28
+
29
+
**/ALLOWISOLATION** causes the operating system to do manifest lookups and loads.
30
+
31
+
**/ALLOWISOLATION** is the default.
32
+
33
+
When isolation is disabled for an executable, the Windows loader will not attempt to find an application manifest for the newly created process. The new process will not have a default activation context, even if there is a manifest inside the executable or placed in the same directory as the executable with name <em>executable-name</em>**.exe.manifest**.
34
+
35
+
For more information, see [Manifest Files Reference](/windows/desktop/SbsCs/manifest-files-reference).
36
+
37
+
### To set this linker option in the Visual Studio development environment
38
+
39
+
1. Open the project's **Property Pages** dialog box. For details, see [Working with Project Properties](../../ide/working-with-project-properties.md).
/MANIFESTDEPENDENCY lets you specify attributes that will be placed in the \<dependency> section of the manifest file.
22
-
23
-
See [/MANIFEST (Create Side-by-Side Assembly Manifest)](../../build/reference/manifest-create-side-by-side-assembly-manifest.md) for information on how to create a manifest file.
24
-
25
-
For more information on the \<dependency> section of the manifest file, see [Publisher Configuration Files](/windows/desktop/SbsCs/publisher-configuration-files).
26
-
27
-
/MANIFESTDEPENDENCY information can be passed to the linker in one of two ways:
28
-
29
-
- Directly on the command line (or in a response file) with /MANIFESTDEPENDENCY.
30
-
31
-
- Via the [comment](../../preprocessor/comment-c-cpp.md) pragma.
32
-
33
-
The following example shows a /MANIFESTDEPENDENCY comment passed via pragma,
The linker will collect /MANIFESTDEPENDENCY comments, eliminate duplicate entries, and then add the resulting XML string to the manifest file. If the linker finds conflicting entries, the manifest file will become corrupt and the application will fail to launch (an entry may be added to the event log, indicating the source of the failure).
56
-
57
-
### To set this linker option in the Visual Studio development environment
58
-
59
-
1. Open the project's **Property Pages** dialog box. For details, see [Working with Project Properties](../../ide/working-with-project-properties.md).
60
-
61
-
2. Expand the **Configuration Properties** node.
62
-
63
-
3. Expand the **Linker** node.
64
-
65
-
4. Select the **Manifest File** property page.
66
-
67
-
5. Modify the **Additional Manifest Dependencies** property.
68
-
69
-
### To set this linker option programmatically
70
-
71
-
1. See <xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.AdditionalManifestDependencies%2A>.
/MANIFESTDEPENDENCY lets you specify attributes that will be placed in the \<dependency> section of the manifest file.
24
+
25
+
See [/MANIFEST (Create Side-by-Side Assembly Manifest)](../../build/reference/manifest-create-side-by-side-assembly-manifest.md) for information on how to create a manifest file.
26
+
27
+
For more information on the \<dependency> section of the manifest file, see [Publisher Configuration Files](/windows/desktop/SbsCs/publisher-configuration-files).
28
+
29
+
/MANIFESTDEPENDENCY information can be passed to the linker in one of two ways:
30
+
31
+
- Directly on the command line (or in a response file) with /MANIFESTDEPENDENCY.
32
+
33
+
- Via the [comment](../../preprocessor/comment-c-cpp.md) pragma.
34
+
35
+
The following example shows a /MANIFESTDEPENDENCY comment passed via pragma,
The linker will collect /MANIFESTDEPENDENCY comments, eliminate duplicate entries, and then add the resulting XML string to the manifest file. If the linker finds conflicting entries, the manifest file will become corrupt and the application will fail to launch (an entry may be added to the event log, indicating the source of the failure).
58
+
59
+
### To set this linker option in the Visual Studio development environment
60
+
61
+
1. Open the project's **Property Pages** dialog box. For details, see [Working with Project Properties](../../ide/working-with-project-properties.md).
0 commit comments