Search found 4 matches
- Mon Jan 27, 2020 5:35 am
- Forum: madCodeHook
- Topic: i have question error code 0x770002
- Replies: 17
- Views: 29688
Re: i have question error code 0x770002
Hmmm, have you tried modifying the VMT directly instead of using HookCode() in the case of IFileDialog? In other words, replacing the method address pointer in the virtual method table (VMT) instead of overwriting the method address in memory at the prologue (first few binary bytes, which HookCode ...
- Thu Jan 09, 2020 10:24 am
- Forum: madCodeHook
- Topic: i have question error code 0x770002
- Replies: 17
- Views: 29688
Re: i have question error code 0x770002
But, how do you even know that an instance of IFileDialog is even being instantiated? I am using API monitor tool ( http://www.rohitab.com/apimonitor ) to trap the calls of CoCreateInstance. I am getting CoCreateInstance for IFIleDialogue in office 365. One thing which I also noticed is that hook o...
- Wed Jan 08, 2020 6:42 pm
- Forum: madCodeHook
- Topic: i have question error code 0x770002
- Replies: 17
- Views: 29688
Re: i have question error code 0x770002
I tried to hook CoCreateInstance from Ole32.dll by calling HookApi but it failed with error -> Failed to install hook. NTSTATUS: 0x770002 Description: ole32.dll@CoCreateInstance . This only happens on machine with MS office 365. Hook is successful on machine with office 2016 / 2013. I also tried to ...
- Wed Jan 08, 2020 3:29 pm
- Forum: madCodeHook
- Topic: i have question error code 0x770002
- Replies: 17
- Views: 29688
Re: i have question error code 0x770002
Hello Madshi, I am facing same issue in office 365 on using HookAPI (error code : 0x770002). If I use HookCode hook is getting Installed successfully and working for maximum calls but for File Save Dialogue my callbackFunc is not getting called. Same code is working properly on office 2016 msi. Thanks