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. Calling COM from C [modified]

Calling COM from C [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
comcsharpc++question
3 Posts 3 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.
  • F Offline
    F Offline
    Fayu
    wrote on last edited by
    #1

    Is it possible to instanciate a COM object in C? I have tried googling this but to no avail. The COM is created with C# and exposed. I can access the COM objects via C++ and VB6. For both C++ and VB6, I am using the tlb. Thanks in advance. -- Modified Thursday, April 22, 2010 4:29 PM

    G L 2 Replies Last reply
    0
    • F Fayu

      Is it possible to instanciate a COM object in C? I have tried googling this but to no avail. The COM is created with C# and exposed. I can access the COM objects via C++ and VB6. For both C++ and VB6, I am using the tlb. Thanks in advance. -- Modified Thursday, April 22, 2010 4:29 PM

      G Offline
      G Offline
      Gwenio
      wrote on last edited by
      #2

      Try searching for articles on Code Project, with the search term "plain", C as the langauge, and COM as the technology. There is atleast one series of articles here on the subject, and you will be better off as using COM in C is complicated (but given that there are articles about it, doing so is possible).

      1 Reply Last reply
      0
      • F Fayu

        Is it possible to instanciate a COM object in C? I have tried googling this but to no avail. The COM is created with C# and exposed. I can access the COM objects via C++ and VB6. For both C++ and VB6, I am using the tlb. Thanks in advance. -- Modified Thursday, April 22, 2010 4:29 PM

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Take a look at this excellent tutorial: COM in plain C[^].

        It's time for a new signature.

        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