COM Beyond Microsoft: Designing and Implementing COM Servers on Compaq Platforms

Chapter 14: Utilities

Overview

In addition to the daemons and utilities described earlier (ntd, rpcss, paulad, olecnfg), the COM implementation on Tru64 UNIX also includes:

  • stgview and df2t Utilities you use to view and convert structured storage documents.
  • dcomver A utility that provides you with versioning information that can be used for debugging.

These utilities are similar to those used on Windows NT, but have been slightly modified on Tru64 UNIX.

Structured storage functions, stgview and df2t

Structured storage is a file system within a file that allows COM applications to treat a single file as a structured collection of directories and files that can be shared among processes. These directories and files are called storage objects and stream objects in the COM dialect. Thus, objects running in-process or out-of-process have equal access to data stored on disk.

COM for Tru64 UNIX includes two run-time functions you can use with structured storage. You can use the stgview function as a window into the compound file to verify its structure. You can use the df2t function to convert a directory tree structure into a compound file or convert a compound file into a directory tree structure.

The command line function, stgview, displays the contents of a compound file. Depending on the stgview switch you use, the display can include the names of embedded storage objects and stream objects and information about the compound file itself. The file you examine with stgview must be a structured storage compound file with the extension .dfl.

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Middleware
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.