Visual C++ .NET is smiling to you, please return her smile  

Visual C++ .Net Programming Tutorials: Migrating From the Old Managed (Extension of) C++ to the New Managed C++ (C++/CLI) Code

 

Home

 

 

 

 

After covering the .NET framework fundamentals, the introduction into the real application developments and digging some information from the Windows system internal using Managed Extension of C++, now we can start learning the features such as new keywords introduced to replace the previous or old Managed Extension of C++ versions. These new features seems to simplify the syntaxes and programming itself though very confusing and time wasting using un-matured technology.

You will see the mixes of the old (Managed Extension of C++) and new Managed C++ codes. You will learn how to set the project option in order to compile the old codes. A complete tasks to migrate the old codes to new version also included. For newbie that just starting the Managed C++ programming, you can skip this tutorial and jump to the 'full' or 'matured' Managed C++. The 'matured' Managed Extension for C++ is called C++/CLI while the Common Language Infrastructure (CLI) part was included into the ISO/IEC standard. This is Microsoft extension for the standard C++ as was done by Java which uses C++ as the underlying code for its class library. The following are the topics for this chapter which most part are more on the new keywords and syntaxes used and the C++ .NET compiler option settings for the programming environment. The following are the topics for this Chapter.

  1. Old To New C++ .Net 1: New keywords in Managed Extensions for C++

  2. Old To New C++ .Net 2: The __nogc keyword, Using the equivalent functionality in the new C++ syntax: Classes and Structs (Managed) and __interface keyword

  3. Old To New C++ .Net 3: The Managed Extensions for C++: __sealed keyword, The new C++ sealed keyword and The new C++ abstract keyword

  4. Old To New C++ .Net 4: The new C++ override keyword, The new C++ new (new slot in vtable) keyword, The new C++ novtable keyword and The Managed Extensions for C++: __gc keyword

  5. Old To New C++ .Net 5: The __event keyword, Native Events, COM Events, Managed Events, Example: Native Events, Example: COM Events, Example: Managed Events and Managed Extensions for C++: __delegate Keyword

  6. Old To New C++ .Net 6: The new delegate Keyword and Event Handling

  7. Old To New C++ .Net 7: The __hook, __unhook and __raise Keywords

  8. Old To New C++ .Net 8: The Managed Extensions for C++: __box Keyword and Implicit Boxing

  9. Old To New C++ .Net 9: The C++ main() or Program Startup, The Argument Definitions and Customizing C++ Command-Line Processing

  10. Old To New C++ .Net 10: Managed Extensions for C++ Upgrade To new C++ Syntax Checklist, Updating Managed Extensions for C++ Code and The /clr (Common Language Runtime Compilation)

  11. Old To New C++ .Net 11: Safe and Pure Images, Metadata and Unnamed Classes and Pure and Verifiable Code: Pure (/clr:pure), Advantages of /clr:pure, Limitations of /clr:pure and Verifiable (/clr:safe)

  12. Old To New C++ .Net 12: How To: Migrate to /clr, Compile with Visual C++ 2005, Versions Prior to Visual C++ 2003, Upgrading from Visual C++ 2003, Upgrading from Managed Extensions for C++, Convert C Code to C++, Reconfigure Project Settings, Create New Project Configurations, Change Project Settings and Precompiled Headers

  13. Old To New C++ .Net 13: Fixing Errors such as Metadata Merge and Loader Lock Deadlock, Using New C++ Features, New C++ Language Features, CLR Data Type Keywords, Override Specifiers, Keywords for Generics, Miscellaneous New Keywords, Non-Keyword Language Constructs, New C++ Operators and More CLR Constructs

 

 

 

 

Best viewed using FireFox 1.5.0 and above. Worst viewed using IE of any version

 

Webmaster contact: [contact[@]visualcplusdotnet.com]

Copyright 2009 © Visualcplusdotnet. All rights reserved.

Excellent hosting services provided by MochaHost - The Online Central

 

 

 

| About | Disclaimer | Privacy | Site Index & Project Download | Native C | Contact |

 
 

 

Custom Search