After an extended back-and-forth with Jugoslav about passing and constructing VARIANTS and SAFEARRAYS in C++/FORTRAN mixed language programs, I came to the conclusion thtat the samples provided by CVF are a little bit lacking. The relevant examples show you to use VARIANTS and SAFEARRAYS in FORTRAN, but surely the primary application for these data structures is in mixed language programming? So why don't we get any examples of their use in a mixed language environment? Or am I looking at the wrong examples? What do you guys think? (I'm actually specifically interested in SAFEARRAYS of type VT_VARIANT that contain arrays of character data - I'm having great difficulty constructing one!)
For more complete information about compiler optimizations, see our Optimization Notice.