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. COM
  4. How do I access my ActiveX array from the outside?

How do I access my ActiveX array from the outside?

Scheduled Pinned Locked Moved COM
c++questioncomdata-structurestutorial
1 Posts 1 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.
  • S Offline
    S Offline
    Stephen McGeown
    wrote on last edited by
    #1

    Hi, Supposing I have a 2D array of chars in my ActiveX component, how do I make my array visible to an MFC application inside of which I want to embed the control? I have read about the Get/Set methods - in theory I should be able to return a pointer to the first element in the array to my app but how is this done???? Do I have to convert or map my 2D char array as a VARIANT type and use this in the Get method? If anybody has an example of this kind of thing or detailed advice that would be great. I just can't find an example of this anywhere :sigh: I am using Visual C++ 6.0 to develop my ActiveX control and the MFC app. Cheers, Stephen

    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