Microsoft Visual C++ .NET 2003 Kick Start is targeted toward developers interested in making the jump to .NET, working programmers already familiar with another programming language or the previous version of VS. Visual C++ .NET 2003 Kick Start speeds through basic concepts and focuses on practical examples and benefits of moving to VC++ .NET. This book explains how VC++ code interacts with the .NET Framework, the extra capabilities of VC++ compared to VB.NET and C# in .NET code interoperability, how to use Windows Forms (a new feature for VC++ .NET in the 2003 edition), and how to migrate from Visual Studio 6 and COM. The author covers the use of managed and unmanaged Visual C++ code, using both types for most examples. Full of code examples, tips, and professional insights, this book provides maximum learning with minimum investment of time and effort.
1. C++, Visual C++, and Managed C++: What's the Difference?
Differences Between Visual C++ and C++. Managed and Unmanaged Code. Managed and Unmanaged Data. Properties. In Brief.
Application Types You Can Create with Visual C++. What Is a Test Harness? Creating an Unmanaged C++ Application. Testing an Unmanaged Class with an Unmanaged Test Harness. Creating a Managed C++ Application. Testing a Managed Class with a Managed Test Harness. In Brief.
Libraries Shared Across Languages. Namespaces in C++. The System Namespace. Other Useful Namespaces. In Brief.
A Managed C++ Windows Forms Application. Using the Toolbox to Build the User Interface. Anchoring, Docking, and Other Properties of Controls. Writing Event Handlers. Using a DataGrid, DataView, and DataFilter. Creating a Multiple-Form Interface. In Brief.
The Role of a Class Library in a Layered Application. Creating a Class Library. Calling the Library from Other Applications. Advantages and Disadvantages of Writing an Unmanaged Class Library. In Brief.
Advantages and Disadvantages of a Managed Class Library. Building a Managed Class Library. Using the Class Library from Managed Code. Calling the Library from Another Managed Language. Managed and Unmanaged Data in a Managed Library. It Just Works (IJW) Interoperability and the Mixed DLL Problem. Mixing Your Own Managed and Unmanaged Code. In Brief.
What Is a DLL? Creating a DLL. How to Use a DLL from Unmanaged C++. How to Use an Unmanaged DLL from Managed C++. How to Use an Unmanaged DLL from C#. In Brief.
COM Components and Their Place in Software Development. Using ATL to Create an Unmanaged COM Component. Using a COM Component from Unmanaged C++. Using a COM Component from Managed C++. Exposing a Managed Class Library as a COM Component. In Brief.
Automation Concepts. Using Word as a Spell Checker from Unmanaged C++. Using Word as a Spell Checker from Managed C++. In Brief.
Web Service Fundamentals. Writing a Web Service in Managed C++. Consuming a Web Service in Managed C++. Discovering Web Services. Writing a Web Service in Unmanaged C++. Calling a Web Service from Unmanaged C++. In Brief.
Database Concepts. The ADO.NET Class Library. Filling a DataSet and Binding to a Control on a Form. Using a Data Reader for Quick One-Way Access. Updating the Database with a Data Set. Data Sets and XML. Filling a Database from XML. In Brief.
What Is a Windows Service? Creating a Simple Windows Service in Managed C++. Debugging a Service. In Brief.
Understanding Encryption Techniques and Technologies. Encrypting Information. Decrypting Information. Role-Based Security. In Brief.
Writing a Class That Will Be Available Through Remoting. Writing a Remoting Client. Hosting the Remoted Object and Configuring the Client. Communication Over Remoting. Choosing Lifetime and Lifecycle Options Appropriately. In Brief.
Extending Windows Controls. Using Drag and Drop. Using GDI+. Internationalizing and Localizing a Windows Application. In Brief.