SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Special Edition Using Visual C++.NET is a comprehensive resource to help readers leverage the exciting new features of Visual C++.NET as well as port their existing skills to the new .NET development environment. The book shows how both Win32 and .NET applications work, not only instructing the reader in the use of Microsoft's Visual C++ wizards, but also showing what the wizards create. A variety of programming tasks from simple dialog boxes to database and Internet programming are included. Because of the new .NET platform developers in any of 17 languages (including Visual C++) will use the same class libraries to construct high-performance applications. SE Using Visual C++.NET will not only cover the new version of the software but also how to get maximum programming results from combining several languages into one project. Related technologies such as XML and XSLT are also covered, along with integrating Visual C++ code with Visual Basic and C# code.
Introduction.
Who Should Read This Book? Before You Start Reading. What This Book Covers. Windows Applications. Messages and Commands. .NET Programming. Conventions Used in This Book. Time to Get Started.
What Is .NET? Why Write an XML Web Service? What About Existing MFC Applications? What About COM Developers? Will C++ Be the Right Language for .NET? What Should a New .NET Programmer Learn? From Here.
Creating a Windows Application. Filenames and Classnames. Try It Yourself. Creating a Dialog-Based Application. Creating DLLs, Console Applications, and More. Changing Your MFC Application Wizard Decisions. Understanding the MFC Application Wizard's Code. From Here.
Understanding Dialog Boxes. Creating a Dialog Resource. Understanding Message Routing. Learning How MFC Class Wizard Helps You Catch Messages. Understanding Commands. From Here.
Understanding the Document Class. Understanding the View Class. Creating the Rectangles Application. Other View Classes. Document Templates, Views, and Frame Windows. Understanding Device Contexts. Introducing the Paint1 Application. Building the Paint1 Application. Using Fonts. Sizing and Positioning the Window. Using Pens. Using Brushes. Scrolling Windows. Building the Scroller Application. Adding Code to Increase Lines. Adding Code to Decrease Lines. From Here.
Understanding Basic Printing and Print Preview with MFC. Scaling. Printing Multiple Pages. Setting the Origin. MFC and Printing. Understanding Saving and Persistence. Creating a Persistent Class. Reading and Writing Files Directly. Creating Your Own CArchive Objects. Using the Registry. From Here.
Building an Application That Displays a String. Building the ShowString Menus. Building the ShowString Dialog Boxes. Making the Menu Work. Making the Dialog Box Work. Adding Appearance Options to the Options Dialog Box. From Here.
Working with Toolbars. Working with Status Bars. Creating a New Command ID. Creating the Default String. Adding the ID to the Indicators Array. Creating the Pane's Command-Update Handler. Setting the Status Bar's Appearance. Working with Rebars. Common Controls. From Here.
Online Help. Different Kinds of Help. Components of the Help System. Help Support from the Application Wizard. Planning Your Help Approach. Programming for Command Help. Programming for Context Help. Writing Help Text. Adjustments to the Contents. Adding Property Sheets to Your Applications. Changing Property Sheets to Wizards. From Here.
Fundamental COM Concepts. ATL, the Active Template Library. The Plus in COM+. From Here.
Using Windows Sockets. Winsock in MFC. Using the Messaging API (MAPI). Adding MAPI Support to an Application. Using Internet Server API (ISAPI) Classes. Using the WinInet Classes. ATL Server. From Here.
Windows Database Programming in Visual C++. Understanding Database Concepts. Creating an ODBC Database Program. Sorting and Filtering. Choosing Between ODBC and ADO. Understanding SQL. Stored Procedures. From Here.
Preventing Errors with ASSERT and TRACE. Adding Debug-Only Features. Sealing Memory Leaks. Using Optimization to Make Efficient Code. From Here.
The Importance of Debugging. Debugging Vocabulary: Breakpoints and Related Concepts. Debugging Commands and Windows. Using the ATL/MFC Trace Tool. Defining a Dump Member Function. Troubleshooting. From Here.
Understanding Simple Threads. Understanding Thread Communication. Communicating with Event Objects. Using Thread Synchronization. From Here.
Advanced Win32 Programming Topics. Creating Console Applications. Creating and Using a 32-Bit Dynamic Link Library. Sending Messages and Commands. International Software Development Issues. Creating a Windows Service. From Here.
Architecture of .NET. The System Namespace. Tips for .NET-Friendly Code. Finding the Old Familiars. From Here.
Your First .NET Application. Your First .NET Component. Designing a Useful .NET Component. From Here.
Using a C++ Component from Visual Basic. Extending a C++ Component in Visual Basic. Using a Visual Basic Component from Visual C++. From Here.
Using a C++ Component from C#. Using a C++ Component from an ASP.NET Page. Extending a C++ Component in C#. Using a C# Component from C++. From Here.
C++ Supports both Managed and Unmanaged Programming. What Is Managed Code? Can All Classes Be Garbage-Collected Classes? Value Types. Managed Interfaces. Properties. Mixing Managed and Unmanaged Code. From Here.
XML Web Service. What Should an XML Web Service Offer? Designing the Sample Web Service. Testing the Sample Web Service. Consuming a Web Service from Code. DISCO and UDDI. From Here.
Getting Started with ADO.NET. A Data Access Component. Using a DataRelation. Getting XML from a Database. Filling a Database from XML. From Here.
Using a COM Component from a .NET Application. Extending a COM Component in .NET. Using a .NET Object As a COM Component. From Here.
Making Applications More Secure. The .NET Security Model Is Consistent. Isolated and Shared Assemblies. User-Based and Role-Based Security. Security from the Compiler. From Here.
Programming for Windows. Inside CWnd. Getting a Handle on All These MFC Classes.
What Is XML? Visual Studio Support for DTDs and Schemas. What Can XML Be Used For? What Is XSLT? What Is XSL? What Does the Future Hold for XML and Related Technologies?
Visual Studio: An Integrated Development Environment. Choosing a View. Looking at Interface Elements. Looking at Your Code, Arranged by Class. Looking at Your Code, Arranged by File. Other Useful Windows. Editing Your Code. Learning the Menu System. Help. Toolbars.
Making Visual Studio .NET Resemble Visual C++ 6. Terminology. Visual Changes. Finding Familiar Commands. What Happened to ClassView? Where Is ClassWizard? Is This Visual Basic?