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. Ask for permission when modifying Registry

Ask for permission when modifying Registry

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++comwindows-adminhelp
4 Posts 2 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
    ashishbhatt 0
    wrote on last edited by
    #1

    Hi All,:-D I have created the project of MFC Activex Control and also I have included other project as a DLL in the same solution.And my Activex project is depends on the DLL project. Here First of all I want to ask you that is it possible for the Activex project to depend on DLL project? Is there any other setting I have to make? And now when I compile the project it gives me the error like...... Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. In my DLL project I have made some registry operations.How can I get appropriate permissions to modify registry?:omg: Thanks In Advance.

    Ashish Bhatt

    B 1 Reply Last reply
    0
    • A ashishbhatt 0

      Hi All,:-D I have created the project of MFC Activex Control and also I have included other project as a DLL in the same solution.And my Activex project is depends on the DLL project. Here First of all I want to ask you that is it possible for the Activex project to depend on DLL project? Is there any other setting I have to make? And now when I compile the project it gives me the error like...... Project : error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. In my DLL project I have made some registry operations.How can I get appropriate permissions to modify registry?:omg: Thanks In Advance.

      Ashish Bhatt

      B Offline
      B Offline
      bob16972
      wrote on last edited by
      #2

      ashishbhatt wrote:

      How can I get appropriate permissions to modify registry?

      Log in with a local administrative account and try again would be the simplest approach. By default, not involving discussion of any type of UAC, only certain accounts have modify or write rights to HKLM and HKCR and it sounds like your not logged in with one of them or your IT staff has made modifications to the standard registry rights settings. If you on a Windows Vista box with UAC turned on, you will potentially get some false positives if your not familiar with what is going on under the hood.

      A 1 Reply Last reply
      0
      • B bob16972

        ashishbhatt wrote:

        How can I get appropriate permissions to modify registry?

        Log in with a local administrative account and try again would be the simplest approach. By default, not involving discussion of any type of UAC, only certain accounts have modify or write rights to HKLM and HKCR and it sounds like your not logged in with one of them or your IT staff has made modifications to the standard registry rights settings. If you on a Windows Vista box with UAC turned on, you will potentially get some false positives if your not familiar with what is going on under the hood.

        A Offline
        A Offline
        ashishbhatt 0
        wrote on last edited by
        #3

        Thanks For Reply,, As you told to login in local Administrative,But I am already working in administrator Account. And my other confusion is that is it possible that IO can add other DLL in the solution in which Activex project is the main project.But here my Activex project depends on DLL project. Thanks.

        Ashish Bhatt

        B 1 Reply Last reply
        0
        • A ashishbhatt 0

          Thanks For Reply,, As you told to login in local Administrative,But I am already working in administrator Account. And my other confusion is that is it possible that IO can add other DLL in the solution in which Activex project is the main project.But here my Activex project depends on DLL project. Thanks.

          Ashish Bhatt

          B Offline
          B Offline
          bob16972
          wrote on last edited by
          #4

          I'm not really sure what it might be then. I googled and the first hit I got looks interesting/promising... (Specifically, the "community content" section had some detailed talk about possible things to look for) Ideas[^]

          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