Microsoft Visual C++ .NET 2003 Kick Start

Kate Gregory

  • 出版商: SAMS
  • 出版日期: 2003-12-14
  • 售價: $1,500
  • 貴賓價: 9.5$1,425
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 0672326000
  • ISBN-13: 9780672326004
  • 相關分類: .NETC++ 程式語言Visual C++
  • 已過版

買這商品的人也買了...

商品描述

 

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.


Table of Contents

Introduction.

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.

2. Creating Test Harnesses and Starter Applications.

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.

3. The .NET Base Class Libraries.

Libraries Shared Across Languages. Namespaces in C++. The System Namespace. Other Useful Namespaces. In Brief.

4. Building Simple User Interfaces with Windows Forms.

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.

5. Writing a Class Library in Unmanaged C++.

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.

6. Writing a Class Library in Managed C++.

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.

7. Building DLLs in Unmanaged C++.
 
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.

8. Writing COM Components in C++.

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.

9. Using Existing COM Components in C++.

Automation Concepts. Using Word as a Spell Checker from Unmanaged C++. Using Word as a Spell Checker from Managed C++. In Brief.

10. Writing and Consuming a Web Service.

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.

11. Writing a Data Layer in Managed C++.

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.

12. Writing a Windows Service.

What Is a Windows Service? Creating a Simple Windows Service in Managed C++. Debugging a Service. In Brief.

13. Strengthening Your Managed Applications with Security and Encryption.

Understanding Encryption Techniques and Technologies. Encrypting Information. Decrypting Information. Role-Based Security. In Brief.

14. Moving Layers to Different Machines with .NET Remoting.

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.

15. Building Advanced User Interfaces in Managed C++.

Extending Windows Controls. Using Drag and Drop. Using GDI+. Internationalizing and Localizing a Windows Application. In Brief.