Wide hook not loded into WWAHost.exe
Wide hook not loded into WWAHost.exe
I need to catch audio in metro app, but hook is not running for the WWAHost.exe.
Hook installed successfuly - InjectLibrary(L"xxx", strHookDll32.c_str(), ALL_SESSIONS, TRUE)
My library loaded in all process exept WWAHost.exe (looked in ProcessExplorer and API monitor V2). How it can be... ??
MadCodeHook 3.1.5
Hook installed successfuly - InjectLibrary(L"xxx", strHookDll32.c_str(), ALL_SESSIONS, TRUE)
My library loaded in all process exept WWAHost.exe (looked in ProcessExplorer and API monitor V2). How it can be... ??
MadCodeHook 3.1.5
Re: Wide hook not loded into WWAHost.exe
Did you add "ALL APPLICATION PACKAGES" NTFS access rights to your hook dll?
Re: Wide hook not loded into WWAHost.exe
I do like this
SetNamedSecurityInfo((LPWSTR)strHookDll32.c_str(), SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL,NULL, NULL);
Is it not anought?
SetNamedSecurityInfo((LPWSTR)strHookDll32.c_str(), SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL,NULL, NULL);
Is it not anought?
Re: Wide hook not loded into WWAHost.exe
No, in order to have your hook dll injected into Metro apps, you need to have "ALL APPLICATION PACKAGES" explicitly listed in the NTFS access rights. I don't know WWAHost.exe, though. Is it a normal Metro app? Or some sort of OS system process? If it's a normal Metro app, then "ALL APPLICATION PACKAGES" should help. If it's an OS system process then maybe its blocking DLL injection. I don't know...
Re: Wide hook not loded into WWAHost.exe
Yes, it is permision problem. I manualy add ALL APPLICATION PACKAGES permision to my dll and it loaded successfully.
Can you, please , give a code sample (C++) to add ALL APPLICATION PACKAGES....
Can you, please , give a code sample (C++) to add ALL APPLICATION PACKAGES....
Re: Wide hook not loded into WWAHost.exe
what can I say? Maybe the control is using a font which has weird signs where you expect numbers?