计算机专业毕业设计外文翻译----托管代码的优点(编辑修改稿)内容摘要:
roject still works as intended because the conversion might not be perfect. One side effect of this language upgrade is that it is no longer possible to pile Visual Basic .NET to native executable code. Visual Basic .NET piles only to IL, just as C does. If you need to continue coding in Visual Basic 6, you may do so, but the executable code produced will pletely ignore the .NET Framework, and you’ll need to keep Visual Studio 6 installed if you want to continue to work in this developer environment. Visual C++ .NET Visual C++ 6 already had a large number of Microsoftspecific extensions on Windows. With Visual C++ .NET, extensions have been added to support the .NET Framework. This means that existing C++ source code will continue to pile to native executable code without modification. It also means, however, that it will run independently of the .NET runtime. If you want your C++ code to run within the .NET Framework, then you can simply add the following line to the beginning of your code: using You can also pass the flag /clr to the piler, which then assumes that you want to pile to managed code, and will hence emit IL instead of native machine code. The interesting thing about C++ is that when you pile to managed code, the piler can emit IL that contains an embedded native executable. This means that you can mix managed types and unmanaged types in your C++ code. Thus the managed C++ code: class MyClass { defines a plain C++ class, whereas the code: __gc class MyClass { will give you a managed class, just as if you’d written the class in C or Visual Basic .NET. The advantage of using managed C++ over C code is that we can call unmanaged C++ classes from managed C++ code without having to resort to COM interop. The piler raises an error if you attempt to use features that are not supported by .NET on managed types (for example, templates or multiple inheritance of classes). You will also find that you will need to use nonstandard C++ features (such as the __gc keyword shown in the previous code) when using managed classes. Because of the freedom that C++ allows in terms of lowlevel pointer manipulation and so on, the C++ piler is not able to generate code that will pass the CLR’s memory type safety tests. If it’s important that your code is recognized by the CLR as memory type safe, then you’ll need to write your source code in some other language (such as C or Visual Basic .NET). Visual J .NET The latest language to be added to the mix is Visual J .NET. Prior to .NET Framework , users were able to use J only after making a separate download. Now the J language is built into the .NET Framework. Because of this, J。计算机专业毕业设计外文翻译----托管代码的优点(编辑修改稿)
相关推荐
e technical fields has been studying and seeks the new database system. But in anything is in the new database system39。 s development direction question, the industrial field once was quite puzzled.
ique to this standard and are not reflected in all mercial products. However, it is useful to be familiar with the standard as its features are representative of required wireless LAN capabilities.
properties file, or via your own ViewResolver implementation. The abstract model Map allows for plete abstraction of the view technology, without any hassle: Be it JSP, Velocity, or anything else
it is not selected yet) and push the button APPRX. The remark. It is possible to assign also a unique static IP address in a range from to . For example, assignment of the following bination of a
he database are 山西大学本科毕业论文(设计)外文翻译资料 loaded drive in order to ODBC function call, but the database itself drive the implementation of ODBC Functions Call, and with the database each other. Thus, when
the website that page constitute. JavaBeans pletes the data to provide, having no code of Java in the template thus, this means that these templates can be written the personnel by a HTML plait to