Index
 
Operating Systems
Java
Programming Languages
Hardware
Microsoft Technologies
Certifications
.Net
Visual Basic
Server Tech.
VC++
COM/DCOM/ATL
C#
MS Office
Windows
Web Technology
Computer Science
Database
Network
Software Engineering
XML and XSL
Internet
Web Programming
Web Technologies
Physics
Bio-Chemistry
Mathematics
Medical
Redbooks
Unlisted/Miscellaneous

Contact Us

Freebookzone.com | What's New | Missing Link | Feedback

Microsoft COM/DCOM/ActiveX/ATL



Book Title : COM and .NET Interoperability
eBook download format(s) : html
ISBN-10 : 1590590112 
ISBN-13 : 978-1-590590-11-9 
Author(s) : Andrew Troelsen
Publisher : Apress (20 Apr 2002)
Section : Microsoft COM/DCOM/ActiveX/ATL
Book Review:

Amazon.com
Aimed at the more experienced developer who needs to get the old and the new in Windows to coexist, COM and .NET Interoperability gives you all the nitty-gritty detail to get .NET Framework code and the older COM standard to work together effectively. Crammed with technical knowledge and a wide range of programming techniques you most likely won't find anywhere else, this book will fill a worthwhile niche as corporations move older Windows code to .NET.

The in-depth technical detail of the inner workings of both COM and .NET sets it apart. It says a lot about this title that it is only after 300 pages of introductory material on the inner workings of COM and .NET that the text turns to interoperability between the two. First comes a traditional tour of COM components, including all the gnarly details of Iunknown, GUIDs, type libraries, late binding (and Idispatch), and deployment through the registry. A short section looks at using the Active Template Library (ATL) and its wizards to simplify "traditional" COM components.

The author also examines how to build and deploy equivalent components in .NET, along with some more advanced material on reflection, generating on-the-fly code, and assembly information. Material on emulating late-binding in .NET is also a standout here, as this technique is not obvious under the new Windows.

At the heart of this book are six chapters showing how to get .NET to call COM code and vice versa, organized into beginning, intermediate, and advanced techniques for each. Core material here shows how to invoke COM objects within .NET, as well as ActiveX controls, a worthy addition, as this is likely to be a workable strategy for .NET developers for years to come. Advanced techniques range further afield. When it comes to calling .NET code from older COM code, apart from the basics of invoking .NET from within "traditional" C++ and Visual Basic, the author also shows how to "consume" new .NET classes like collections within COM.

Final sections turn toward other COM+ services, with a full tour of transactions and just-in-time activation (JITA) for building more scalable Windows components. (Here, besides "classic" COM+ components in C++, the author shows how to do it in .NET.) The book rounds out with examples of "fully serviced" Windows components in .NET, including a solid example using a Web service.

While COM is destined to wither away, for the next few years there will be ample opportunity for advanced programmers to leverage an in-depth knowledge of COM and .NET. This book's authoritative treatment of most every conceivable permutation of COM and .NET code interaction makes it the definitive resource on the subject. Armed with this title, any advanced C++/C# developer will be able to mix in old code and new code effectively. --Richard Dragan

Topics covered: Introduction to Platform Invocation (PInvoke) services; calling a traditional DLL from C and C++; using PInvoke to call a traditional DLL with .NET; callback functions in .NET for DLLs; tutorial for COM servers (conventions and built-in interfaces, GUIDs, class factories, deployment); C++ COM clients; IDispatch and scriptable objects; Active Template Library (ATL) basics (including wizard support); COM servers in VB 6; COM IDL files in detail (type libraries and programming reading type info); using C# to view COM type libraries; .NET servers (including assemblies and deployment options); advanced techniques for on-the-fly code generation with the System.CodeDOM APIs; .NET types explained; using .NET reflection APIs (viewing type info in C#); late binding in .NET; basic .NET to COM interoperability (converting COM IDL to .NET types); deploying Interop assemblies; intermediate techniques (including using COM Variants, Param arrays, structures and collections between platforms, events and delegates, error handling); advanced techniques (COM classes implementing .NET interfaces); consuming ActiveX controls in .NET code; modifying Interop assemblies; basic COM to .NET code-sharing techniques (including the COM Callable Wrapper, CCW, the tlbexp.exe utility, COM-aware .NET types); consuming .NET components in VB 6, C++, and VBScript; intermediate COM to .NET techniques (using .NET enumerated types, structures, delegates, and collections within COM); advanced techniques for using .NET in COM (changing type marshaling, custom COM interfaces, defining COM interfaces using managed code, manually defining COM atoms in C#, custom hosts for the .NET runtime); overview of COM+ (including the transactions, pooling, and the COM+ Catalog); classic COM+ components versus .NET equivalentsp; lazy automatic registration; object construction strings; just-in-time activation (JITA); transactional programming in .NET; and sample serviced components (including a Web service example).

Book Description

COM and .NET Interoperability provides a complete overview of the process of building .NET applications that interact (interoperate) with existing COM code. Before digging into that critical topic, author Andrew Troelsen offers a concise overview of the COM architecture and provides examples using various COM frameworks (C++, ATL, and VB 6.0) as well as the core .NET managed languages (C# and VB .NET).

After covering the preliminaries, the book explores numerous issues that arise in interoperability, including interacting with the Win32 API, dynamically generating source code via System.CodeDOM, creating serviced (COM+) components using managed code, manually editing (and recompiling) .NET metadata, and the process of constructing custom COM/.NET conversion utilities. Both intermediate and advanced developers will welcome the practical information they need to quickly work with COM and COM+ in .NET applications, and learn how to create .NET components that are COM compatible.



Download Description

COM and .NET Interoperability provides a complete overview on the process of building .NET applications which interact (interoperate) with existing COM code. Before digging into that critical topic, Andrew offers a concise overview of the COM architecture, and provides examples using various COM frameworks (C++, ATL, and VB 6.0). Next, the reader will learn the core aspects of the .NET platform and come to understand the use of both C# and VB .NET during the process. With these primers aside, the remainder of the book covers numerous interoperability issues including interacting with the Windows API, event programming and the process of building custom code conversion utilities.

  • Educates readers on the building blocks of the COM and .NET architectures
  • Covers the internal aspects of COM /.NET interoperability with minimal focus on integrated Wizard tools
  • Readers learn to build custom COM /.NET conversion tools
  • Covers accessing COM components, Win32 API, and C DLLs from .NET applications
  • Covers COM components accessing .NET types




add to del.icio.us                 Digg Freebookzone.com!

You may use anyone of the download options


eBook VersionBuy this book from Amazon
Front Cover

Missing Link?, Report It and you may wish to  Buy  this book from amazon

Tell a Friend!

Similar Book titles in Microsoft COM/DCOM/ActiveX/ATL section:
Developing Activex Components With Visual Basic 5.0
Programming Distributed Applications With COM And Microsoft Visual Basic 6.0
Internet Explorer Plug In and ActiveX Companion


Similar Book titles in Other sections:

Section: Finance and Accounting
Inventory Accounting: A Comprehensive Guide


Section: Bio-Chemistry
EMBnet Biocomputing Tutorials
On-Line Biology Book - Estrella Mountain Community College
Complexity in Biological Information Processing
BioComputing
Computational Molecular Biology: An Introduction
Show all..


Section: CS -> Compilers and Languages
A Compact Guide to Lex & Yacc
The Gentle Compiler Construction System
Comprehensive Compilers Review
Using GCC: The GNU Compiler Collection Reference Manual
Compiler Construction Using Flex and Bison
Show all..


Section: Data Structures and Algorithms
Introduction to Computer Graphics
Concepts, Techniques, and Models of Computer Programming
Algorithms and Complexity
Design and Analysis of Computer Algorithms
Computers, Graphics, & Learning
Show all..


Section: Multimedia & Game Development
Simulating Humans: Computer Graphics Animation and Control
So you want to be a Computer Game Developer?


Section: CS -> Hardware
Computer Architecture Tutorial
Advanced Computer Architecture Notes
Advanced Computer Architecture Tutorials
Computer Structures: Principles and Examples
Computer Structures: Readings and Examples
Show all..


Section: Parallel Computing
Fundamentals of Grid Computing
Developing Component Software with CORBA


Section: CS -> Theory
Introduction to Computer Science I
Foundations of Computer Science
Cellular Automata and Complexity
A BASIS FOR A MATHEMATICAL THEORY OF COMPUTATION
Fundamentals of Computing
Show all..


Section: DB -> Oracle
Database Systems: The Complete Book


Section: DB -> SQL Server
SQL Server 2005 Stored Procedure Programming in T-SQL & .NET


Section: Photography
Photo.Net - Learn Photography Guide


Section: Computer Hardware
The Complete Idiot's Guide to PCs
Dictionary of PC Hardware and Data Communications Terms
The Hand-Me-Down PC: Upgrading and Repairing Personal Computers
Beginning Computer Hardware Guide
Scott Mueller Library - Computer Dictionary
Show all..


Section: Logic Design and Architecture
Computer Aids for VLSI Design, Second Edition
The Complexity of Boolean Functions
Verilog Synthesis Interoperability 1364.1


Section: Microprocessor
Programming PIC Microcontroller in C (CC5X compiler)
Understanding Electronics Components
Tandy Model 200 Telcom Manual


Section: Peripherals
Plug and Play External COM Device Specification Version 1.00
SCSI Block Commands - 2 (SBC-2)
SCSI Object Based Storage Device Commands (OSD)


Section: Internet
Building an Online Community
The Internet Companion - A Beginner's Guide to Global Networking
Creating Commercial Web Sites
The Electronic Commerce Dictionary
How To Become A Hacker
Show all..


Section: Advanced Java
Introduction to Computer Science Using Java
SCJP Exam for J2SE 5: A Concise and Comprehensive Study Guide for The Sun Certified Java Programmer Exam


Section: Java Language
The Design Patterns: Java Companion


Section: Java Networking
Java Thin Client for Network Computing


Section: Life & Health
Complete Idiots Guide to Amazing Sex
Physicians Committee - Healthy Eating for Life for Women


Section: Mathematics
Mathematical Foundations of Computer Science
Vector Math for 3D Computer Graphics - An Interactive Tutorial
The Unknowable (Discrete Mathematics and Theoretical Computer Science)
Foundations of Combinatorics with Applications
A Computational Introduction to Number Theory and Algebra
Show all..


Section: Miscellaneous
The Art of Computer Game Design
Computer Vision and Image Processing
The Future Does Not Compute
Academic Careers for Experimental Computer Scientists and Engineers
E-Commerce: An Introduction
Show all..


Section: Sales, Marketing & Trading
Does Your Marketing Sell?:The Secret of Effective Marketing Communications
Intermarket Technical Analysis: Trading Strategies for the Global Stock, Bond, Commodity, and Currency Markets


Section: Microsoft Certifications
MCAD MCSD Microsoft .NET Core Requirements
Osborne - VB.NET All-In-One Exam Guide
Osborne - C#.NET All-in-One Exam Guide


Section: Microsoft C Sharp (C#)
C# COM+ Programming
OOP with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Step by Step
C# - Your Visual Blueprint for building .Net applications
C# .NET Web Developer's Guide
Mastering Visual C# .NET
Show all..


Section: Microsoft .(dot) net
Microsoft .net for programmers
Applied Microsoft .Net Framework Programming
.NET Framework Essentials
Programming Microsoft.NET
Introducing Microsoft .NET Second Edition
Show all..


Section: Office Development
Programming Microsoft Office 2000 Web Components


Section: Microsoft Windows Servers
Microsoft Exchange 2000 Server Administrators Companion
Microsoft Windows 2000 Server Administrators Companion
Special Edition Using Microsoft Commercial Internet System
Windows .NET Server 2003 Domains & Active Directory


Section: Microsoft Visual Basic
Visual Basic .NET
VB.NET Developers Guide
Mastering Visual Basic .NET
COM+ Programming with Visual Basic
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET
Show all..


Section: Microsoft Visual C++


Section: MS Web Technologies
Visual Basic Developers Guide to ECommerce with ASP and SQL Server
Microsoft Commerce Solutions Web Technology
ASP .NET
ASP.net Web Developer's Guide


Section: Windows Development
Windows 2000 Commands Guidebook


Section: Networking
Introduction to Data Communications
Introduction to Computer, Internet & Network Systems Security
Firewalls Complete
Simulation of Communication Systems
The Internet companion: A beginner's guide to global networking
Show all..


Section: GNU/Linux OS
Beej's Guide to Unix Interprocess Communication


Section: Embedded and RTOS
The eCos Component Writer's Guide


Section: Solaris OS
Solaris Common Desktop Environment: Programmer's Guide
Common Desktop Environment: Application Builder User's Guide
pthreads and Solaris threads: A comparison of two user level threads APIs
Solaris 10 - The Complete Reference


Section: OS Theory
The Common Man's Guide to Operating System Design
2K ( Component-Based Network-Centric Operating System for the Next Millennium )
Project Oberon - The Design of an Operating System and Compiler


Section: Unix OS
A Comprehensive Guide to FreeBSD
The Complete FreeBSD, Fourth Edition


Section: Assembly Language
The Art of Computer Programming


Section: C Language
The New C Standard: A Cultural and Economic Commentary
Incompatibilities Between ISO C and ISO C++


Section: C++ Language
Compilers and Compiler Generators: an introduction with C++
Complete C++ Language Tutorial
Programming in C++, Rules and Recommendations
Industrial Strength C++: Rules and Recommendations
C++ Network Programming, Vol. 1: Mastering Complexity with ACE and Patterns
Show all..


Section: Other Programming
Common LISP Advanced User's Guide
Common LISP User's Guide
Common Lisp: A Gentle Introduction to Symbolic Computation
On LISP: Advanced Techniques for Common LISP
Successful Lisp: How to Understand and Use Common Lisp
Show all..


Section: Ruby Programming
Things That Newcomers to Ruby Should Know


Section: Scripting
Concrete Abstractions: An Introduction to Computer Science Using Scheme


Section: Smalltalk
Squeak: Open Personal Computing and Multimedia


Section: Redbooks Draft
Building Composite Applications
Communications Server for z/OS V1R7 TCP/IP, Volume 3
Deployment Guide Series: IBM Tivoli Composite Application Manager
IBM Communications Server for z/OS V1R10 TCP/IP Implementation Volume 1: Base Functions, Connectivity, and Routing
IBM Communication Controller for Linux on System z V1.2.1 Implementation Guide
Show all..


Section: Redbooks
Aix and Windows Nt: Solutions for Interoperability
Communications Server for z/OS V1R7 TCP/IP Implementation, Volume 4: Policy-Based Network Security
Communications Server for z/OS V1R7 TCP/IP Implementation, Volume 1: Base Functions, Connectivity, and Routing
IBM z/OS V1R11 Communications Server TCP/IP Implementation Volume 2: Standard Applications
IBM Communication Controller for Linux on System z V1.2.1 Implementation Guide
Show all..


Section: IBM Technotes
Comparison of Deployment Scenarios for Enterprise Wide Scheduling
Soft Commit: Worth a Try on IBM i5/OS V5R4
CommonStore Solution Deployment Consideration: Initial Offload and Large System Deployment
CommonStore Solution Sizing Basics


Section: Redpapers
Remodeling a Standard Store into the Extended Sites Model With WebSphere Commerce Business Edition V5.6.1
IBM WebSphere Voice Server V5.1.2/V5.1.3 and Cisco Customer Voice Portal V3.1: An Interoperability Guide
Securing Communications with OpenSSH on IBM i5/OS
Large-Scale Implementation of IBM Tivoli Composite Application Manager
Composite Application Provisioning with IBM Tivoli Provisioning Manager V3.1
Show all..


Section: Redpapers Draft
Mastering DynaCache In WebSphere Commerce
IBM WebSphere Voice Server V5.1.1/V5.1.2 and Cisco Customer Voice Portal V3.1: An Interoperability Guide
Large Scale Implementation for IBM Tivoli Composite Application Manager for WebSphere
Securing Communications with OpenSSH on i5/OS
Composite Application Provisioning with Tvoli Provisioning Manager V3.1
Show all..


Section: Software Engineering
Power Tools for Technical Communication
How to Design Programs: An Introduction to Programming and Computing
Reusable Software Components: Object-Oriented Embedded Systems Programming in C
Object-Oriented Software Composition
Recommended Approach to Software Development
Show all..


Section: Telecommunication
Telecommunications Demystified
Mobile Telecommunications Protocols for Data Networks


Section: Software Testing
Testing and Quality Assurance for Component-Based Software


Section: Travel and Routes
Frommer's India (Frommer's Complete)
City Bountiful: A Century of Community Gardening in America


Section: Web Programming
The Complete Idiot's Guide to Creating an HTML Web Page
The Complete Idiot's Guide to JavaScript
WWW Plug-Ins Companion
Pro JSF and Ajax: Building Rich Internet Components


Section: XML, XSL & UML
XML Web Services for ASP.NET
XML Complete
Real World XML Web Services: For VB and VB .NET Developers


Similar Books from Amazon :


Tell a Friend!


©2008 FreeBookZone.com - Home - Privacy Policy - Program Policy, Terms and Conditions