Thread: safearray

  1. #1
    Registered User
    Join Date
    May 2006


    Hello everyone,

    Could anyone recommend some tutorials about safearray please?

    thanks in advance,

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    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):

    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.

    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:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VARIANT function or variable?
    By NewGuy100 in forum C Programming
    Replies: 7
    Last Post: 07-29-2005, 12:54 PM