Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. COM Arrays of arrays

COM Arrays of arrays

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncomdata-structures
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AJaeger
    wrote on last edited by
    #1

    Hello, how can I translate VBA-constructs like Array(Array(1, 2), Array(2, 2), Array(3, 1)) to Visual C++? This is important to use the Excel-method "Workbooks.OpenText(..., FieldInfo, ...). Who can help? Thanks Andreas Jäger PMC

    A 1 Reply Last reply
    0
    • A AJaeger

      Hello, how can I translate VBA-constructs like Array(Array(1, 2), Array(2, 2), Array(3, 1)) to Visual C++? This is important to use the Excel-method "Workbooks.OpenText(..., FieldInfo, ...). Who can help? Thanks Andreas Jäger PMC

      A Offline
      A Offline
      Alex Gorev
      wrote on last edited by
      #2

      Hi Andreas! You must use SAFEARRAYs. You can create a SAFEARRAY where each element is another SAFEARRAY and in this second array each element is integer. Regards, Alex Gorev, Dundas Software. ================== The original message was: Hello,

      how can I translate VBA-constructs like
      Array(Array(1, 2), Array(2, 2), Array(3, 1))
      to Visual C++?
      This is important to use the Excel-method "Workbooks.OpenText(..., FieldInfo, ...).
      Who can help?

      Thanks
      Andreas Jäger
      PMC

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups