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 write Active x in VC++

How to write Active x in VC++

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++comquestion
11 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.
  • L Offline
    L Offline
    lgatcodeproject
    wrote on last edited by
    #1

    Hi every one Can Any one guide me how to proceed with developing a ActiveX component in VC++? Regards, S.Lakshmigeetha.

    lgatcodeproject

    S H 2 Replies Last reply
    0
    • L lgatcodeproject

      Hi every one Can Any one guide me how to proceed with developing a ActiveX component in VC++? Regards, S.Lakshmigeetha.

      lgatcodeproject

      S Offline
      S Offline
      ShilpiP
      wrote on last edited by
      #2

      Please follow the step that is given in this article Click here->[^] :)

      Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

      L 1 Reply Last reply
      0
      • L lgatcodeproject

        Hi every one Can Any one guide me how to proceed with developing a ActiveX component in VC++? Regards, S.Lakshmigeetha.

        lgatcodeproject

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See Creating ActiveX Components in C++[^].

        L 1 Reply Last reply
        0
        • S ShilpiP

          Please follow the step that is given in this article Click here->[^] :)

          Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

          L Offline
          L Offline
          lgatcodeproject
          wrote on last edited by
          #4

          Hello, Thanks for the Link. I have question regarding the article. I followed the steps dictated in the link. In step 3 (Adding a property to the Control)the article says the prototypes of get & set functions are created int polyCtl.h and empty functions are created in polyCtl.cpp. But when I tried the same, say added a propery named Sides, the get and set functions did not get created in the .h and .cpp file. But as they said the propget,propput god added in the polygon.idl. Can you say that this behaviour is common? Regards, LG

          lgatcodeproject

          L 1 Reply Last reply
          0
          • L lgatcodeproject

            Hello, Thanks for the Link. I have question regarding the article. I followed the steps dictated in the link. In step 3 (Adding a property to the Control)the article says the prototypes of get & set functions are created int polyCtl.h and empty functions are created in polyCtl.cpp. But when I tried the same, say added a propery named Sides, the get and set functions did not get created in the .h and .cpp file. But as they said the propget,propput god added in the polygon.idl. Can you say that this behaviour is common? Regards, LG

            lgatcodeproject

            L Offline
            L Offline
            lgatcodeproject
            wrote on last edited by
            #5

            kindly excuse the typo errors ".... got god"

            lgatcodeproject

            B 1 Reply Last reply
            0
            • L lgatcodeproject

              kindly excuse the typo errors ".... got god"

              lgatcodeproject

              B Offline
              B Offline
              BadKarma
              wrote on last edited by
              #6

              Did you recompile the IDL? This should generate the functions for you

              codito ergo sum

              L 1 Reply Last reply
              0
              • B BadKarma

                Did you recompile the IDL? This should generate the functions for you

                codito ergo sum

                L Offline
                L Offline
                lgatcodeproject
                wrote on last edited by
                #7

                Hello, I Rebuild the application after adding the property. This build would compile the idl for me is it? Regards, LG

                lgatcodeproject

                B 1 Reply Last reply
                0
                • L lgatcodeproject

                  Hello, I Rebuild the application after adding the property. This build would compile the idl for me is it? Regards, LG

                  lgatcodeproject

                  B Offline
                  B Offline
                  BadKarma
                  wrote on last edited by
                  #8

                  Normally it should, nevertheless could you try to compile the .IDL yourself?

                  codito ergo sum

                  L 1 Reply Last reply
                  0
                  • B BadKarma

                    Normally it should, nevertheless could you try to compile the .IDL yourself?

                    codito ergo sum

                    L Offline
                    L Offline
                    lgatcodeproject
                    wrote on last edited by
                    #9

                    Hi, I compiled the .IDL but it did't happen so I added the function declaration on the .h file and the definitions in the .cpp file. And proceeded further, and I got the desired output. Thanks for the link. :) Regards, LG.

                    lgatcodeproject

                    1 Reply Last reply
                    0
                    • H Hamid Taebi

                      See Creating ActiveX Components in C++[^].

                      L Offline
                      L Offline
                      lgatcodeproject
                      wrote on last edited by
                      #10

                      Hi! Thanks for the link. It was quite informative. Regards, LG

                      lgatcodeproject

                      H 1 Reply Last reply
                      0
                      • L lgatcodeproject

                        Hi! Thanks for the link. It was quite informative. Regards, LG

                        lgatcodeproject

                        H Offline
                        H Offline
                        Hamid Taebi
                        wrote on last edited by
                        #11

                        I glad it was helpful for you.

                        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