The Artima Developer Community
Sponsored Link

C++ Community News Forum
Announcing "VOLE - A Neat C++ COM/Automation Driver"

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Matthew Wilson

Posts: 145
Nickname: bigboy
Registered: Jun, 2004

Announcing "VOLE - A Neat C++ COM/Automation Driver" Posted: Jan 27, 2007 1:26 PM
Reply to this message Reply
Summary
VOLE is an open-source, compiler-independent C++ COM Automation driver library, for use when having to drive IDispatch directly. VOLE is highly robust, fully encapsulating all "low-level" aspects of IDispatch, and is very flexible, taking and returning normal C++ types.
Advertisement
VOLE is 100% header-only, so you just #include and go. VOLE is now available as running code (version 0.2.1), is under active development, and is looking for interested developers and testers.

Home page: http://vole.sourceforge.net/
Download: http://sourceforge.net/project/showfiles.php?group_id=185401

Features:

  • creation from CLSID, or Prog Id, e.g.

         xlApp = vole::object::create("Excel.Application", CLSCTX_LOCAL_SERVER);

  • methods, e.g.

         xlApp.invoke_method<void>(L"Quit");

  • get_ properties, e.g.

         vole::collection xlBooks = xlApp.get_property<vole::collection>(L"Workbooks");

  • put_ properties, e.g.

         xlBook.put_property(L"Saved", 1);

  • COM Collections, providing STL-compliant iterators over the collection element sequence, e.g.

         { for(vole::collection::iterator b = xlBooks.begin(); b != xlBooks.end(); ++b)
       {
         . . . // Process each work book
       }}

  • Hides away all the complexity of IDispatch
  • Presents a natural syntax
  • (planned for 0.3) Named arguments
  • Tested with Digital Mars, GCC, Metrowerks CodeWarrior, Intel, Visual C++ compilers

Requirements:

For more information, please come to http://vole.sourceforge.net/.

Topic: The Astoria Seminar: Extraordinary C++, Sept. 23-26 Previous Topic   Next Topic Topic: CodeSynthesis XSD Release 2.3.1 - open-source XML Schema to C++ compiler

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use