Forum Discussion
anton_gulyaev
8 years agoHonored Guest
Cannot reach OVRService from my Windows service
I need to read Oculus Touch data from my service. When I try to initialize ovr from my service however, I get an error "AccessFailure: Client doesn't have the required rights".
Here is my code for the initialization:
This works correctly, unless is ran inside a service. I configured OVRService service to run under SYSTEM account, as well as my service, still no effect. Any ideas?
Here is my code for the initialization:
ovrInitParams initParams = { ovrInit_RequestVersion | ovrInit_Invisible, OVR_MINOR_VERSION, NULL, 0, 0 };
ovr_Initialize(&initParams);
ovrErrorInfo info;
ovr_GetLastErrorInfo(&info);
if (!OVR_SUCCESS(ovr_Create(&_pOvrSession, &_pGraphics)))
{
ovr_GetLastErrorInfo(&info); // AccessFailure: Client doesn't have the required rights
}
ovrInitParams params = { 0, 0, nullptr, 0, 0, OVR_ON64("") };
ovr_Initialize(¶ms);
ovr_GetLastErrorInfo(&info); // AccessFailure: Client doesn't have the required rights
This works correctly, unless is ran inside a service. I configured OVRService service to run under SYSTEM account, as well as my service, still no effect. Any ideas?
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 17 days ago