COM+ Programming: A Practical Guide Using Visual C++ and ATL by Victor Shtern

By Victor Shtern

*Maximizing COM/COM+ software program reusability and scalability: sensible options!

*Developing powerful company COM+ purposes: confirmed guidance and pattern code

*In-depth insurance: IDL interface layout, COM+ synchronization, transactions, queuing, protection, occasions, and extra

*Techniques for administering allotted part environments

Maximizing COM/COM+ reuse and scalability: sensible, enterprise-class strategies!

If you are ready to strengthen COM/COM+ company purposes, commence with this useful, solutions-focused consultant! utilizing case experiences and real-world code examples, Hewlett-Packard COM/COM+ professional Pradeep Tapadiya provides COM and COM+ intimately, from a developer's viewpoint. you will grasp strong strategies for making improvements to reusability, scalability, and robustness-and become aware of find out how to stay away from the traps and pitfalls that watch for the unwary. Tapadiya demonstrates ultra-modern most sensible ways to designing interfaces, development COM servers, facing transactions, and extra, together with:

*In-depth insurance of interface layout with IDL

*A complete bankruptcy on maximizing the scalability of COM/COM+ purposes

*Maximizing defense in dispensed, component-based environments

*COM+ synchronization, residences, actions, and occasion notification

*Working with queued parts

*Administering allotted part environments

Whether you are new to part improvement, migrating to COM+ and home windows 2000, or an skilled developer looking strong new concepts, you will find the solutions in COM+ Programming: a pragmatic advisor utilizing visible C++ and ATL.

Show description

Read or Download COM+ Programming: A Practical Guide Using Visual C++ and ATL PDF

Similar library management books

5-Star Programming and Services for Your 55+ Library Customers (Ala Programming Guides)

Each seven seconds, a toddler boomer turns 50. So. .. who makes up the fastest-growing section of capability library clients? because the inhabitants ways fifty five and above, libraries are confronted with an untapped chance to serve a continuously underserved inhabitants. As she explains the fine details of making plans, constructing, advertising, and investment winning courses and providers to the graying inhabitants, longtime outreach and entry recommend Barbara associates demonstrates how libraries can make the most of offering top-notch courses and companies for older adults.

ITIL Service Transition (Best Management Practices)

Through targeting supply and regulate method actions, ITIL carrier Operation describes how a hugely fascinating regular nation of coping with prone might be completed on a day by day foundation. Key positive aspects The up to date ITIL guides proportion the same common constitution (including regular content material in Chapters 1, 2 and six) to enhance consistency and relief navigation.

Libraries and Librarianship in China

This publication discusses the advance of library and data providers in China and the impression of the nation's political and social stipulations on that develpment. the writer in short reports the historical past of chinese language libraries and librarianship, then describes chinese language library companies within the first 1/2 the 20 th century.

Dynamic Optimization: Deterministic and Stochastic Models (Universitext)

This e-book explores discrete-time dynamic optimization and gives a close advent to either deterministic and stochastic types. overlaying issues of finite and limitless horizon, in addition to Markov renewal courses, Bayesian keep an eye on types and in part observable tactics, the booklet makes a speciality of the proper modelling of functions in quite a few components, together with operations study, laptop technological know-how, arithmetic, statistics, engineering, economics and finance.

Additional info for COM+ Programming: A Practical Guide Using Visual C++ and ATL

Sample text

We are almost done. The next problem has to do with lifetime management of the VCR object. com to register it. Thanks . < BACK NEXT > [oR] Managing the Lifetime of an Object If you recall our TV client code, the Delete method is being called at several different places. The client code has to remember that there was only one object created (using function CreateInstance) and thus only one Delete has to be called, even though the code is dealing with multiple interfaces from the object. For our simple TV client code, this is not a tremendous bur-den.

Once we opt for using the virtual methods mechanism, three new issues arise. If the interface class contains data members, the placement of vptr in the memory layout is chosen by the vendor. One vendor may wish to place it before the data members and the other after the data members. This problem can easily be avoided by not declaring any data members in the interface definition. This fits very well with our notion of hiding implementation details from the clients. The second problem is related to multiple inheritance of an interface class.

If the interface definition is changed and the client code is not recompiled with the new definition, the binary encapsulation gets broken. In this case, the behavior of the client is completely unpredictable, as we saw in an earlier example. Even if just the semantics of the interface were changed without actually changing the interface, (for example, by returning a value greater than 40 in our case) the client would still break. An interface, therefore, is a binary as well as semantic contract that should stay immutable.

Download PDF sample

Rated 4.77 of 5 – based on 27 votes