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 to create COM DLL ..Help Me

how to create COM DLL ..Help Me

Scheduled Pinned Locked Moved COM
comhelptutorial
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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Hi, I developed application for handling incoming call using Tapi 3.0 (COM base) now i want to convert that application in to DLL. but i don't know how to create COM DLL. because in that application i used COM interface. I will use that DLL in VB. but i don't how to create DLL . Please help me. if anyone knows, send me source code for that. waithing for +ve reply Regards, Riya jain

    V L 2 Replies Last reply
    0
    • A Anonymous

      Hi, I developed application for handling incoming call using Tapi 3.0 (COM base) now i want to convert that application in to DLL. but i don't know how to create COM DLL. because in that application i used COM interface. I will use that DLL in VB. but i don't how to create DLL . Please help me. if anyone knows, send me source code for that. waithing for +ve reply Regards, Riya jain

      V Offline
      V Offline
      vgrigor1
      wrote on last edited by
      #2

      Usually you can not convert exe to DLL, but it is usually fast to create new COM DLL envelope using (your language VB or C++) application wizard, - create there new interface with same methods and transfer code to it. It is suitable for all. - or if your more experienced, when created new DLL - transfer just COM to it, if you know how to it for VB. - or - ugly solution -create new DLL that makes simple one COM method, that return interface pointer IDispatch* with it create your EXE COM and return interface - each time you call this method for DLL, exe COM will be created and returned - and will use as if it is placed in DLL. This method is good when you already created complexsolution and do not whant rewrite COM interfaces and transfer code - but use tested EXE unit as fast as possible.

      1 Reply Last reply
      0
      • A Anonymous

        Hi, I developed application for handling incoming call using Tapi 3.0 (COM base) now i want to convert that application in to DLL. but i don't know how to create COM DLL. because in that application i used COM interface. I will use that DLL in VB. but i don't how to create DLL . Please help me. if anyone knows, send me source code for that. waithing for +ve reply Regards, Riya jain

        L Offline
        L Offline
        Logan from Singapore
        wrote on last edited by
        #3

        Hi, I am also new to COM and I manage to create my 1st DLL from this article. http://www.codeproject.com/atl/SimpleATLCom.asp Hope it is useful to you.:) Regards w_logan

        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