COM STL Bridge (CSB) Homepage | CodeGuru

COM STL Bridge (CSB) Homepage

A free, primarily template based library, the COM STL Bridge (CSB) is available for immediate download from: http://ourworld.compuserve.com/homepages/ray_brown. A sample is included that demonstrates how to combine the power of COM and C++’s STL to sort a collection with a single line of code, across different machines if desired. If you’ve ever looked for a […]

Written By
CodeGuru Staff
CodeGuru Staff
Dec 15, 1998
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

A free, primarily template based library, the COM STL Bridge (CSB) is
available for immediate download from:


http://ourworld.compuserve.com/homepages/ray_brown
.

A sample is included that demonstrates how to combine the power of COM and C++’s
STL to sort a collection with a single line of code, across different machines if desired.
If you’ve ever looked for a solution for wrapping your C++ containers and
iterators with COM interfaces in an effortless fashion, then CSB is your
answer.

Feature summary:

  • COM wrappers for STL containers and iterators.
  • IPersistStream support for STL containers.
  • VARIANT-style and type safe interfaces.
  • VB-callable _NewEnum method.
  • Choice of apartment and free threaded objects.
  • STL compliant adapters for COM enumerators and collections.
  • Choice of caching policies to configure interaction between STL iterator adapter
    and COM enumerator eliminates apartment/network round trips when appropriate.
  • Portable to various COM platforms (Unix, etc.).
  • Full and automatic support for ISupportErrorInfo.
  • Segmented error architecture permits easy pass-through of error result codes.
  • C++ exception support, integrated with ISupportErrorInfo.
  • Free: $0 development license, $0 run-time royalties.

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.