How can I marshall between XLOPER and VARIANT?

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-12-22T23:32:38Z Indexed on 2010/12/23 8:54 UTC
Read the original article Hit count: 536

Filed under:
|
|
|
|

I'm working on an Excel plugin (XLL), which communicates with COM objects. So, I have to marshall between XLOPER and VARIANT. I've got most of this working, but arrays are definitely a pain. I need to support 1- and 2D arrays.

I imagine someone has already had to deal with this before. Is there some library available to simplify this? Are there good tools for dealing with VARIANT, SAFEARRAY, and XLOPER (and XLOPER12)?

© Stack Overflow or respective owner

Related posts about c++

Related posts about excel