Skip to Content
Learning DCOM
book

Learning DCOM

by Thuan L. Thai
April 1999
Intermediate to advanced
502 pages
15h 5m
English
O'Reilly Media, Inc.
Content preview from Learning DCOM

Chapter 5. Infrastructure

In this chapter:

While you can actually write complete, functioning server and client components from the material given in the previous chapters, you’ll find them very limited. In order to give you the bare bones, the following considerations have been ignored:

Memory management

Some programs contain complicated, many-layered pointers as function arguments. These require special handling to send their data across a connection.

Location transparency

Objects can locate anywhere in cyberspace. Location transparency allows a single programming model that allows clients anywhere to refer to distributed objects. In COM programming, you know this object reference as an interface pointer, which can be passed to any component in cyberspace.

Multithreading

Multithreaded programming in COM is different from traditional multithreaded programming. To take advantage of multithreading, you need to learn an important concept called apartments.

Security

You haven’t been shown how to restrict access to a service. Security can be configured by an administrator and can also be finely controlled through programming.

These are the sorts of supporting infrastructure that will be discussed in this chapter.

COM applications and apartments

Figure 5-1. COM applications and apartments

Before we delve in to these discussions, we must introduce an important Distributed COM concept called apartments. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Go

Learning Go

Jon Bodner
Effective C

Effective C

Robert C. Seacord
Learning Algorithms

Learning Algorithms

George Heineman

Publisher Resources

ISBN: 9781449307011Errata Page