Passing a VARIANT from mac OS X Excel 2011 VBA to c++ -


i under mac os x, , using excel-2011 vba. know how pass various types vba c++ , inversely, this.

now, know if possible somehow pass vba variant c++ (i using gcc 5.2). of course, there's no variant in gcc but, after all, variant "just" union. (the optimistic guy.) have guys heared classes mimicking microsoft's variant , allowing achieve ? (in first time, accept forget iunknown , idispatch !)

i aware of mono, , looked it, have variantclass, don't know if wise. looked document explaining in detail object model of excel-2011 mac, without success.

precision. not saying microsoft's variant is, under windows, optimal way exchange data between c++ , excel but, com , atl , stuff, quite used , works do, trying stick of "same kind" under mac os x. may wrong, in case, know how want do.

i opted porting variantto mac os x, see here :

bstr's , variant's under... mac os x

where described how trying it.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -