Using the C++ Compiler for Managed C++

The compiler has a new /CLR command-line switch that signifies that code should be compiled for the Common Language Runtime.

Using the /LD command-line switch will create a DLL instead of an EXE.

When using the compiler in this mode, the linker will be invoked automatically to produce an executable file that requires the .NET CLR to make it work. This implies that you cannot create executables and run them on systems that do not support the .NET runtime. You can disable the link step by using the /c command-line switch. In this case, an .obj file is created in the normal way.

You can use the /link compiler command-line option to pass the remainder of the command line directly to the linker. The /link directive is the last one the compiler notices. All other directives are passed to the linker command line.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.141.212