
Microsoft Visual C++ .NET 2003 Kick Start
Kate Gregory(Author)
Sams Publishing
Published on 17. December 2003
Book
Paperback/Softback
336 pages
978-0-672-32600-4 (ISBN)
Description
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.
More details
Language
English
Place of publication
Indianapolis
United States
Publishing group
Pearson Education (US)
Target group
College/higher education
Dimensions
Height: 188 mm
Width: 231 mm
Thickness: 19 mm
Weight
572 gr
ISBN-13
978-0-672-32600-4 (9780672326004)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Person
Kate Gregory, Microsoft Regional Director for Toronto, Ontario, is a founding partner of Gregory Consulting Limited. For the past 17 years her firm has been developing software using tools like .NET, XML, Web Services, VC++, VB, C#, ASP, Java, and Perl. Kate teaches and develops courses for a variety of corporate clients and is an adjunct faculty member at Trent University. She is in demand as an expert speaker, with five cross-country tours for Microsoft Canada in the past two years, and talks at Tech Ed USA and Europe. Kate is the author of numerous books for Que Publishing, including four editions of Special Edition Using Visual C++. She also writes a Visual C++ column at CodeGuru.
Content
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.
Index.
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.
Index.