NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

/com+ (NGWS Runtime Compilation)

/com+[:noAssembly]

where,

:noAssembly (optional)
Specifies that an assembly manifest should not be inserted into the output file.
By default, an assembly manifest is inserted into the output file. You can cause an assembly to not be created with the /NOASSEMBLY linker option.

Remarks

The /com+ compiler option enables the use of Managed Extensions for C++ and to create an output file that will require the NGWS runtime at run time. There may or may not be managed data in the application.

/com+ does not imply that classes, interfaces, or structs are managed; use __gc to explicitly specify when you want a construct to be managed.

/com+ does imply that all functions will be managed. To make specified functions unmanaged, use the managed pragma.

Code compiled with /com+ must also use the #using <mscorlib.dll> statement.

Managed code is code that can be inspected and managed by the NGWS runtime. Managed code can access managed objects.

By default, the /com+ compiler option is not in effect.

See the /ASSEMBLY linker option for information about how you can create a NGWS assembly when you compile and link your Managed Extensions for C++ program.

Note the following restrictions on the use of /com+:

See Also

Compiler Options | Setting Compiler Options