GetIDsOfNames returns E_ACCESSDENIED after installing SP2 on Windows XP Pro
-
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?
-
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?
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.
-
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.
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
-
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?
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/[^])
-
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/[^])
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