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 variant
class, 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 variant
to mac os x, see here :
bstr's , variant's under... mac os x
where described how trying it.
Comments
Post a Comment