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. How to use ActiveX control in win32?

How to use ActiveX control in win32?

Scheduled Pinned Locked Moved C / C++ / MFC
comtutorialquestion
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.
  • M Offline
    M Offline
    mathivanaan
    wrote on last edited by
    #1

    Hi, I want to use a Active X contol in a win32 application. How I can add that control to my project? If you can Please explain me with a sample code. Regards, M.Mathivanan

    _ C 2 Replies Last reply
    0
    • M mathivanaan

      Hi, I want to use a Active X contol in a win32 application. How I can add that control to my project? If you can Please explain me with a sample code. Regards, M.Mathivanan

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Active X components are basically COM components. So you can create an instance of it and then use the control in your application.

      I am a HUMAN. I have that keyword in my name........ ;-)_AnsHUMAN_

      S 1 Reply Last reply
      0
      • M mathivanaan

        Hi, I want to use a Active X contol in a win32 application. How I can add that control to my project? If you can Please explain me with a sample code. Regards, M.Mathivanan

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        See here[^]

        Cédric Moonen Software developer
        Charting control [v3.0] OpenGL game tutorial in C++

        1 Reply Last reply
        0
        • _ _AnsHUMAN_

          Active X components are basically COM components. So you can create an instance of it and then use the control in your application.

          I am a HUMAN. I have that keyword in my name........ ;-)_AnsHUMAN_

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

          That's a but simplistic. An ActiveX control is a COM object but writing code to correctly host it is far from trivial: in fact it's hard. The easiest way is to use MFC's or ATL's hosting code.

          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