global-interface-table

Tag

Cards List
#global-interface-table

Creating a fake agile wrapper that is technically agile but is not useful outside its home apartment, part 5

The Old New Thing (Raymond Chen) ↗ · 2026-08-07 Cached

Raymond Chen explains how to use std::unique_ptr to manage a registration cookie in a fake agile wrapper, discussing integer-to-pointer round-tripping and the wil::unique_any alternative.

0 favorites 0 likes
#global-interface-table

Creating a fake agile wrapper that is technically agile but is not useful outside its home apartment, part 3

The Old New Thing (Raymond Chen) ↗ · 2026-08-05 Cached

Raymond Chen continues his series on creating a fake agile wrapper for non-marshalable COM objects by wrapping them in a marshalable object, enabling registration in the global interface table while preserving undefined-behavior-free failures in other apartments.

0 favorites 0 likes
#global-interface-table

Creating a fake agile wrapper that is technically agile but is not useful outside its home apartment, part 1

The Old New Thing (Raymond Chen) ↗ · 2026-08-03 Cached

Raymond Chen describes a technique for creating a fake agile wrapper in COM that uses the Global Interface Table to automatically release an object when its source apartment shuts down, addressing a problem with context callback failures.

0 favorites 0 likes
← Back to home

Submit Feedback