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. GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro

GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro

Scheduled Pinned Locked Moved COM
sharepointquestion
5 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.
  • L Offline
    L Offline
    Lonnie Johnson
    wrote on last edited by
    #1

    I have written a BHO application. This application works on Windows XP Home, Windows 2000 Pro and Windows XP Pro without SP 2 installed. After SP 2 was installed on Windows XP Pro the GetIDsOfNames function started failing with E_ACCESSDENIED (0x80070005). The GetIDsOfNames work succesfully one time and fails after that. What does E_ACCESSDENIED mean when returned by GetIDsOfNames? Why did SP 2 on Windows XP Pro cause this to start happening?

    M L 2 Replies Last reply
    0
    • L Lonnie Johnson

      I have written a BHO application. This application works on Windows XP Home, Windows 2000 Pro and Windows XP Pro without SP 2 installed. After SP 2 was installed on Windows XP Pro the GetIDsOfNames function started failing with E_ACCESSDENIED (0x80070005). The GetIDsOfNames work succesfully one time and fails after that. What does E_ACCESSDENIED mean when returned by GetIDsOfNames? Why did SP 2 on Windows XP Pro cause this to start happening?

      M Offline
      M Offline
      morenz
      wrote on last edited by
      #2

      Hello, I've heard of troubles with XP SP2 and COM... probably they want us to migrate our projects into .NET framework... I saw that also a COM taht uses sinks to synchronize processes does not work correctly with XP SP2, while it does good with oter OSs of NT family. If I was you, I should check on MSDN if XP SP2 modifies behavior of GetIDsOfNames (usually they say it on function description...) Hope this helps Best regards Morenz.

      L 1 Reply Last reply
      0
      • M morenz

        Hello, I've heard of troubles with XP SP2 and COM... probably they want us to migrate our projects into .NET framework... I saw that also a COM taht uses sinks to synchronize processes does not work correctly with XP SP2, while it does good with oter OSs of NT family. If I was you, I should check on MSDN if XP SP2 modifies behavior of GetIDsOfNames (usually they say it on function description...) Hope this helps Best regards Morenz.

        L Offline
        L Offline
        Lonnie Johnson
        wrote on last edited by
        #3

        I have search all over MSDN and really can not find anything that indicates the behavior has changed. However in my search there were links to IDispatch::GetIDsOfNames in the SDK and none the the links work. (http://msdn.microsoft.com/library/en-us/automat/htm/chap5_32cz.asp[^] )They all come up with page not found. Lonnie

        1 Reply Last reply
        0
        • L Lonnie Johnson

          I have written a BHO application. This application works on Windows XP Home, Windows 2000 Pro and Windows XP Pro without SP 2 installed. After SP 2 was installed on Windows XP Pro the GetIDsOfNames function started failing with E_ACCESSDENIED (0x80070005). The GetIDsOfNames work succesfully one time and fails after that. What does E_ACCESSDENIED mean when returned by GetIDsOfNames? Why did SP 2 on Windows XP Pro cause this to start happening?

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

          I had read some material about SP2. SP2 has some changes for BHO (Unfortunately, I dont have the paper now :( ). Please check for SP2 and BHO working on msdn. Following link might be useful for understanding BHO in XP SP2 - http://windowsxp.mvps.org/addons.htm[^]* * *

          Have a great day ahead! Regards, Sohail Kadiwala (My Blog - http://blogs.wdevs.com/sohail/[^])

          L 1 Reply Last reply
          0
          • L Lost User

            I had read some material about SP2. SP2 has some changes for BHO (Unfortunately, I dont have the paper now :( ). Please check for SP2 and BHO working on msdn. Following link might be useful for understanding BHO in XP SP2 - http://windowsxp.mvps.org/addons.htm[^]* * *

            Have a great day ahead! Regards, Sohail Kadiwala (My Blog - http://blogs.wdevs.com/sohail/[^])

            L Offline
            L Offline
            Lonnie Johnson
            wrote on last edited by
            #5

            Hello Sohail, Thank you very much for the response. I looked at the link in you message and also the links on that page. I think there is something that I did not make clear. My BHO runs on Windows XP Pro SP 2. There is just one facility of the BHO that does not work. I have added items to the IE tools menu and buttons to the IE toolbar. These menu items and toolbar buttons do no work on Windows XP Pro SP 2. Everything else in my BHO is working. The BHO can be used without the menu items and buttons, but it is much more convenient to have them. These items fail because they require the GetIDsOfName function. So, the links you provided did clear up some things for me, the did not help me find a resolution to my problem. Someone must know what causes E_ACCESSDENIED to be returned from GetIDsOfNames. Lonnie

            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