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 Import and use Com file in c++

How To Import and use Com file in c++

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

    hello everybody in this forum . i would like to ask one question about calling com file from c++ i have a com file that is written in c++ also , i need to import that dll and then create object from one of its object classes and invoke its methods , how can i import and initialize Com files in c++ to be able to call its objects and methods in my c++ project ? please help friends thanks

    Human knowledge belongs to the world.

    C I 2 Replies Last reply
    0
    • S snouto

      hello everybody in this forum . i would like to ask one question about calling com file from c++ i have a com file that is written in c++ also , i need to import that dll and then create object from one of its object classes and invoke its methods , how can i import and initialize Com files in c++ to be able to call its objects and methods in my c++ project ? please help friends thanks

      Human knowledge belongs to the world.

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      [^]. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      S 1 Reply Last reply
      0
      • C CPallini

        [^]. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #3

        Well done, you're using the right site now :-)

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        C 1 Reply Last reply
        0
        • S Stuart Dootson

          Well done, you're using the right site now :-)

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Hey kids (you & 'that I.') stop mocking Daddy: elderly people deserve deference! :-D

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          1 Reply Last reply
          0
          • S snouto

            hello everybody in this forum . i would like to ask one question about calling com file from c++ i have a com file that is written in c++ also , i need to import that dll and then create object from one of its object classes and invoke its methods , how can i import and initialize Com files in c++ to be able to call its objects and methods in my c++ project ? please help friends thanks

            Human knowledge belongs to the world.

            I Offline
            I Offline
            Iain Clarke Warrior Programmer
            wrote on last edited by
            #5

            In addition to the search, you should also look for "#import", as that will get you started on the way. Iain.

            In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

            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