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. COM DLL Server help

COM DLL Server help

Scheduled Pinned Locked Moved COM
comsysadminhelp
6 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.
  • T Offline
    T Offline
    Touseef Afzal
    wrote on last edited by
    #1

    Dear all, I m new to COM world, having basic knowledge about it. I have to redesign a simple DLL project to COM DLL Server so that it can incorporate with existing application with least changes. What kind of approach i have to follow in order to complete this task ... Waiting for your suggestion ... Thanks..

    "I only fail when i give up "

    S 1 Reply Last reply
    0
    • T Touseef Afzal

      Dear all, I m new to COM world, having basic knowledge about it. I have to redesign a simple DLL project to COM DLL Server so that it can incorporate with existing application with least changes. What kind of approach i have to follow in order to complete this task ... Waiting for your suggestion ... Thanks..

      "I only fail when i give up "

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

      Basically you want to write a COM wrapper around a Simple win32 Dll isnt it? Does this Simple win32 dll contains exported Classes? or simple C functions? Cheers, Suresh

      T 1 Reply Last reply
      0
      • S sthotakura

        Basically you want to write a COM wrapper around a Simple win32 Dll isnt it? Does this Simple win32 dll contains exported Classes? or simple C functions? Cheers, Suresh

        T Offline
        T Offline
        Touseef Afzal
        wrote on last edited by
        #3

        Thanks for your kind reply ... Yes a COM wrapper around a Simple win32 Dll. This win32 dll contains exported simple functions ... Is this a fine approach or should i have start a project from start having all those functions of exported Classes in COM Server Dll. Thanks...

        "I only fail when i give up "

        S J 2 Replies Last reply
        0
        • T Touseef Afzal

          Thanks for your kind reply ... Yes a COM wrapper around a Simple win32 Dll. This win32 dll contains exported simple functions ... Is this a fine approach or should i have start a project from start having all those functions of exported Classes in COM Server Dll. Thanks...

          "I only fail when i give up "

          S Offline
          S Offline
          sthotakura
          wrote on last edited by
          #4

          Yeah, the approach is fine, but remember to distribute both the DLL's when you are publishing your application. Cheers, Suresh

          T 1 Reply Last reply
          0
          • T Touseef Afzal

            Thanks for your kind reply ... Yes a COM wrapper around a Simple win32 Dll. This win32 dll contains exported simple functions ... Is this a fine approach or should i have start a project from start having all those functions of exported Classes in COM Server Dll. Thanks...

            "I only fail when i give up "

            J Offline
            J Offline
            Janma
            wrote on last edited by
            #5

            Can anyone please help me or give me some sample code? I need to create an ATL COM service (not a DLL) which has a dummy interface.. say. add 2 numbers.. After creating the service, i want to register it as a windows service. Then i want to create a client which connects to this service and uses the interface.. (adds 2 numbers) I have searched online and there is not a decent article which explains the process step by step... Any help in this regard will be very useful. Thanks in advance!!!!

            1 Reply Last reply
            0
            • S sthotakura

              Yeah, the approach is fine, but remember to distribute both the DLL's when you are publishing your application. Cheers, Suresh

              T Offline
              T Offline
              Touseef Afzal
              wrote on last edited by
              #6

              Hi, Want to ask one more thing.. I have loaded the Admin.dll in my COM dll server. Is it possible that i can marshal pointer of my custom class from DLL Server to client for some specific processing or may u plz suggest any other possible approach for this case. Thanks.

              "I only fail when i give up "

              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