tags:

views:

341

answers:

2

Does anyone know how to create a SAFEARRAY in C++ to house an array of user defined structs?

+1  A: 

Here is the information on passing the UDTs using safe array http://msdn.microsoft.com/en-us/library/ms221453.aspx

Vinay
+1  A: 

See the "mvps.org" site: http://vcfaq.mvps.org/com/4.htm, this will probably be much more readable than any MSDN documentation.

Jason S