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 register a com exe without admin rights?

How to register a com exe without admin rights?

Scheduled Pinned Locked Moved COM
comhelptutorialquestion
5 Posts 3 Posters 5 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.
  • H Offline
    H Offline
    Hari Adarapu
    wrote on last edited by
    #1

    Hi, I have a scenario where i should copy and register a com exe but the problem is i don't have admin rights on that pc. I know that if it is a com dll then using manifest file i can use it without even registering. Can someone suggest me if there is a way to register com exe without admin rights or use a unregistered com exe using the manifest file? Thanks in Advance, Hari krishna

    L 1 Reply Last reply
    0
    • H Hari Adarapu

      Hi, I have a scenario where i should copy and register a com exe but the problem is i don't have admin rights on that pc. I know that if it is a com dll then using manifest file i can use it without even registering. Can someone suggest me if there is a way to register com exe without admin rights or use a unregistered com exe using the manifest file? Thanks in Advance, Hari krishna

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

      You can use the CoLoadLibrary()[^] function to load and use an unregistered COM library.

      One of these days I'm going to think of a really clever signature.

      M 1 Reply Last reply
      0
      • L Lost User

        You can use the CoLoadLibrary()[^] function to load and use an unregistered COM library.

        One of these days I'm going to think of a really clever signature.

        M Offline
        M Offline
        Marius Bancila
        wrote on last edited by
        #3

        I don't think CoLoadLibrary would work with out-of-proc COM servers. If you don't have admin rights you could probably use registration-free COM activation[^].

        L 1 Reply Last reply
        0
        • M Marius Bancila

          I don't think CoLoadLibrary would work with out-of-proc COM servers. If you don't have admin rights you could probably use registration-free COM activation[^].

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

          You need to tell this to the questioner, not to me.

          M 1 Reply Last reply
          0
          • L Lost User

            You need to tell this to the questioner, not to me.

            M Offline
            M Offline
            Marius Bancila
            wrote on last edited by
            #5

            Sorry, for the misunderstanding, it wasn't for you, it was for the OP.

            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