Q: ole: Is it possible to mistakenly call an unsupported function?
A: no

Q: ole: What is the name of the object responsible for tracing links?
A: moniker

Q: ole: What is the name of the OLE's capability to expose pieces of code to other pieces of code?
A: (OLE) automation

Q: ole: Can an application be built from pieces of existing applications?
A: yes (thanks to OLE)

Q: ole: What is the founding principle of structured storage?
A: whole file system in a file

Q: ole: Can data be transferred between processes as a pointer to data on disk (in Structured Storage)?
A: yes (there is no need to use global memory)

Q: ole: What is the name of passing function calls and parameters across process boundaries?
A: marshalling

Q: ole: What is the name of the implementor of an object (EXE or DLL)?
A: server

Q: ole: What call initializes OLE?
A: OleInitialize

Q: ole: What is OLE automation?
A: exposing code of an application to other applications

Q: ole: What is the name of an application that uses an OLE object?
A: client

Q: ole: Which objects are faster: those located in EXE files or in DLLs?
A: in DLLs (no support for marshalling)

Q: ole: Does OLE 2.0 trace links to files moved to another directory?
A: yes

Q: ole: What is the standard prefix letter in interface identifiers?
A: I (e.g. like in IUnknown)

Q: ole: Can objects from 16-bit and 32-bit spaces communicate?
A: yes

Q: ole: What is a server application?
A: EXE server

Q: ole: Can an interface not include the function QueryInterface?
A: no

Q: ole: Can Windows Objects be implemented in an EXE file?
A: yes (but custom marshalling is a non-trivial requirement)

Q: ole: What mechanism is used in implement Excel files?
A: structured storage

Q: ole: What is an incremental save in Structured Storage?
A: saving only the changed part of a modified file (without having to rewrite all its contents)

Q: ole: What is CLSID?
A: class identifier

Q: ole: What is the greatest merit of OLE?
A: reusability of software objects

Q: ole: What is the name of transferring parameters across process boundaries (e.g. between server and application interface methods)?
A: marshaling

Q: ole: Does deleting something from a structured storage reduce its size?
A: no (root of the storage has to be copied to a new storage for defragmentation)

Q: ole: From which interface are all interfaces derived?
A: IUnknown

Q: ole: Why do databases usually apply their own storage mechanisms, not the compound files?
A: to optimize the search engine

Q: ole: What mechanism is used to implement Word files?
A: structured storage

Q: ole: Where does Microsoft use structured storage (example)?
A: Word/Excel files

Q: ole: Applications can access COM components on another computer using a mechanism called Distributed COM or [...]
A: DCOM

Q: ole: Mshtml.dll is an Active Document (also known as an OLE document object) that exposes the HTML document through the Dynamic HTML Object Model and performs the HTML parsing and rendering in [...]
A: Internet Explorer

Q: ole: Mshtml.dll is an Active Document (also known as an OLE document object) that exposes the HTML document through the Dynamic HTML Object Model and performs the HTML [...] in Internet Explorer
A: parsing and rendering

Q: ole: Mshtml.dll is an Active Document (also known as an OLE document object) that exposes the [...] document through the Dynamic HTML Object Model and performs the HTML parsing and rendering in Internet Explorer
A: HTML

Q: ole: [...].dll is an Active Document (also known as an OLE document object) that exposes the HTML document through the Dynamic HTML Object Model and performs the HTML parsing and rendering in Internet Explorer
A: Mshtml

Q: ole: Which objects are easier to implement? Those located in EXE files or in DLLs?
A: in DLLs (no support for marshalling)

Q: ole: Why are objects living in EXE files slower and harder to implement than those living in DLLs?
A: support for marshaling is needed

Q: ole: What is the name of the approach that allows one to keep the whole file system in a file?
A: structured storage

Q: ole: Mshtml.dll is an [...] (also known as an OLE document object) that exposes the HTML document through the Dynamic HTML Object Model
A: Active Document

Q: ole: What is a container?
A: OLE client

Q: ole: What is the only way to know the interfaces supported by an object?
A: QueryInferface

Q: ole: What is the name of the file with all object and interface information belonging to an ActiveX server?
A: type library

Q: ole: What is the name of the implementation of Structured Storage in OLE 2.0?
A: Compound Files

Q: ole: What links an object with a particular DLL or EXE file?
A: class identifier (CLSID)

Q: ole: What should an application do if CoBuildVersion fails to confirm proper major version number?
A: fail

Q: ole: What is an equivalent of a directory in structured storage?
A: storage / storage object

Q: ole: Where is information about all OLE-capable object servers kept?
A: in the registration database

Q: ole: Can it happen that one has to free memory allocated by OLE?
A: yes (use CoGetMalloc to get the IMalloc interface, call IMalloc.Free, and then IMalloc.Release)

Q: ole: What is the name of objects that are used to create and register COM objects?
A: class factories

Q: ole: What technology will make DDE, Clipboard and drag-and-drop data transfer techniques uniform and simple?
A: Uniform Data Transfer

Q: ole: What call executes OLE shutdown?
A: OleUninitialize

Q: ole: What is the equivalent of a storage stream in the traditional file system?
A: a file

Q: ole: What is the nature of an instantiation of an object interface?
A: array of pointers to functions

Q: ole: What is the only parameter of OleInitialize?
A: pointer to an allocator object (can be NULL for the default allocator)

Q: ole: What qualifies an object as a Windows Object?
A: support for IUnknown

Q: ole: What is the equivalent of a storage object in the traditional file system?
A: a directory

Q: ole: What is an equivalent of a file in structured storage?
A: (storage) stream

Q: ole: What is the difference between Windows and OLE allocation functions?
A: they are defined analogously (LocalAlloc, LocalFree, LocalCompact, etc.)

Q: ole: What is a moniker?
A: object responsible for tracing links

Q: ole: What is an in-process server?
A: DLL server

Q: ole: What interfaces are implemented by streams in Structured Storage?
A: IStream (equivalent of a file)

Q: ole: Which DLL implements Compound Files of Structured Storage?
A: storage.dll

Q: ole: What is needed to instantiate an object?
A: its unique identifier

Q: ole: How to copy objects in OLE?
A: drag them (across documents)

Q: ole: What interfaces are implemented by storages in Structured Storage?
A: IStorage (equivalent of a directory)

Q: ole: What is an object handler?
A: DLL server that implements part of an object (e.g. without editing capability; intended for redistribution)

Q: ole: Which is safer to use CoBuildVersion or OleBuildVersion?
A: OleBuildVersion (it calls CoBuildVersion anyway)

Q: ole: What is the use of HRESULT type returned by most interface members?
A: error information (in detail)

Q: ole: What is the use of the IEnum interface?
A: enumeration over lists
