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. ATL / WTL / STL
  4. How do i pass an array of long to the method of COM?

How do i pass an array of long to the method of COM?

Scheduled Pinned Locked Moved ATL / WTL / STL
questioncomdata-structurestutorial
4 Posts 4 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.
  • V Offline
    V Offline
    viral_umang hotmail com
    wrote on last edited by
    #1

    Hi all! I want to know how to pass an array of long to the method of COM and how to return the array of long from that method. Viral Joshi.

    L L S 3 Replies Last reply
    0
    • V viral_umang hotmail com

      Hi all! I want to know how to pass an array of long to the method of COM and how to return the array of long from that method. Viral Joshi.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      SAFEARRAY[^]

      led mike

      1 Reply Last reply
      0
      • V viral_umang hotmail com

        Hi all! I want to know how to pass an array of long to the method of COM and how to return the array of long from that method. Viral Joshi.

        L Offline
        L Offline
        lafleon
        wrote on last edited by
        #3

        Hello, Read the article on MSDN: “How to Pass Arrays between Visual Basic and C”. http://support.microsoft.com/kb/207931 Some more links: 1. "Passing an array from VC++ DLL to VB", by Amol Kakhandki on Code project. http://www.codeproject.com/dll/ctovbarray\_passing.asp 2. http://www.manbu.net/Lib/En/Class5/Sub7/1/23.asp Regards

        1 Reply Last reply
        0
        • V viral_umang hotmail com

          Hi all! I want to know how to pass an array of long to the method of COM and how to return the array of long from that method. Viral Joshi.

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          This[^] might help.

          Steve

          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