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
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
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.