1st Edition

.NET Programming with Visual C++ Tutorial, Reference, and Immediate Solutions

By Max Fomitchev Copyright 2003
    710 Pages
    by CRC Press

    736 Pages
    by CRC Press

    Packed with C++ code examples and screen shots, .NET Programming with Visual C++ explains the .NET framework and managed extensions to C++, and provides a complete reference to the basic and advanced types contained in .NET Framework System namesp

    Primary Audience: The book is intended for current intermediate to advanced Visual C++ 6.0 users migrating to Visual C++ .NET. The book can be used as a reference for .NET developers. Secondary Audience: Novice C++ developers who want to learn C++ programming for the .NET Framework. Structure of the Book. Chapter 1 provides overview of the .NET Framework. The material is intended mostly for novice users. Chapter 2 is a tutorial into Managed Extensions to C++. Prior knowledge of C++ is assumed. Fifteen complete code samples. Chapter 3 provides a complete reference of the basic types (Array, String, Delegate) contained in .NET Framework System namespace. Fifteen complete code samples. Chapter 4 provides a complete reference of the advanced types (Attribute, GC, etc.) contained in .NET Framework System namespace. Twelve complete code samples. Chapter 5 provides a complete reference of the System: [Threading namespace and teaches how to use multithreading, interlocking and thread synchronization in .NET. Thirteen complete code samples. Chapter 6 provides a complete reference of the System: [Collections namespace and teaches how to use .NET collections. Fifteen complete code samples. Chapter 7 provides a complete reference of the System: IO namespace and teaches how to work with the .NET file and stream I/O, including isolated storage. Sixteen complete code samples. Chapter 8 is an introduction into ADO.NET. The chapter provides a complete reference of the System: [Data namespace focusing on DataSet and DataTable classes, reading/writing structured data from XML, and in-memory representations of arbitrary heterogeneous data sets. Eleven complete code samples. Chapter 9 teaches how to use ADO.NET OLEDB and SQL Server data providers to add, modify, navigate database data and how to perform transactions. The chapter provides a complete reference of the System: [Data:[Common, System:[Data: :01eDb, and System: [Data: :SqlClient namespaces. Thirteen complete code samples. Chapter 10 is an introduction into ASP.NET web services. The chapter focuses on ASP.NET web service architecture and basic web service development issues. Prior experience with ASP/web services is not required. Chapter 11 introduces web service protocols such as HTTP-GET, HTTP-POST and SOAP and tailoring web services and web service consumers to use a particular protocol. Chapter 12 covers Web Services Definition Language (WSDL), web service discovery, configuration and security. Chapter 13 discusses .NET interoperability with unmanaged code and teaches how to access .NET types from COM components and vice versa. Five complete code samples. For intermediate/advanced users. Chapter 14 covers “other” (i.e., nonmanaged) Microsoft extensions to C++ language focusing on new compiler intrinsics (MMX/SSE/SSE2/3DNow!), support for 64-bit data types and data alignment, native C++/COM event handling, new keywords and other language enhancements. Five complete code samples.* For advanced users. Chapter 15 covers C Runtime Library enhancements focusing on runtime error checking. Nine complete code samples. For advanced users. Chapter 16 discusses enhancements and changes to MFC 7.0 focusing on new features related to DHTML (editing, DHTML dialogs), Windows XP support, resource localization (satellite DLLs) and 64-bit portability. Prior knowledge of MFC is required. Six complete code examples. Chapter 17 introduces unmanaged attributed programming, focuses on compiler and ATL COM attributes and teaches how to declare COM coclasses/interfaces using attributes, how to handle COM events. Provides a reference of COM attributes. For advanced users. Three complete code examples. Chapter 18 introduces attributed ATL OLEDB programming and provides a complete reference of ATL OLEDB attributes. The Chapter teaches how to retrieve, update, navigate database data using OLE DB, issue database commands and perform transactions.

    Biography

    Well-known game designer Max Fomitchev holds a Ph.D. in computer science and is the author of numerous articles in Dr. Dobb's Journal and other programming magazines.