Hello everyone,
Could anyone recommend some tutorials about safearray please?
http://msdn2.microsoft.com/en-us/lib...82(vs.80).aspx
thanks in advance,
George
Printable View
Hello everyone,
Could anyone recommend some tutorials about safearray please?
http://msdn2.microsoft.com/en-us/lib...82(vs.80).aspx
thanks in advance,
George
You are aware, of course, that SAFEARRAYs are Windows-only? Your code wouldn't be very portable if you used them. Still want to use them? This person had very good advise (the first person, not the second one): http://www.thescripts.com/forum/thread739507.html
If all you want is an array that can hold an arbitrary number of elements or that warns you when you overstep its boundaries, look into STL containers such as vectors. http://www.thescripts.com/forum/thread739507.html