COM STL Bridge (CSB) Homepage

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

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.


  • Anybody know of an up-to-date URL?

    Posted by Legacy on 07/17/2003 12:00am

    Originally posted by: Michael

    This page appears to be gone ...

  • Invalid link

    Posted by Legacy on 07/21/2002 12:00am

    Originally posted by: Kanth

    The source code link is not valid. Is there any new link?

  • CSB

    Posted by Legacy on 03/10/1999 12:00am

    Originally posted by: Dan Arnold

    The source code link is not not valid.
    Is there a new link?

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Moving from an on-premises environment to Office 365 does not remove the need to plan for disruptions or reduce the business risk requirements for protecting email services. If anything, some risks increase with a move to the cloud. Read how to ease the transition every business faces if considering or already migrating to cloud email. This white paper discusses: Setting expectations when migrating to Office 365 Understanding the implications of relying solely on Exchange Online security Necessary archiving …

  • Enterprises are increasingly looking to platform as a service (PaaS) to lower their costs and speed their time to market for new applications. Developing, deploying, and managing applications in the cloud eliminates the time and expense of managing a physical infrastructure to support them. PaaS offerings must deliver additional long-term benefits, such as a lower total cost of ownership (TCO), rapid scalability, and ease of integration, all while providing robust security and availability. This report …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date