C# Perception - using the API hooks in hijackdll

The place for all discussion of the Oculus Rift compatible open source 3D drivers.
Post Reply
Yulfy
One Eyed Hopeful
Posts: 1
Joined: Thu Apr 16, 2015 9:36 am

C# Perception - using the API hooks in hijackdll

Post by Yulfy »

I'm hoping someone here could help me out. I'm trying to get Vireio Perception working in a C# application. My experience with C++ is pretty limited but I've been around C# for quite a while. I've managed to successfully call InstallHook() and RemoveHook() inside of the highjack dll, which looks something like the following: https://gist.github.com/CFitzsimons/5d0 ... 3ecff5e192

I modified the two hooks inside of dllmain.cpp to return a 1 if they are successful and after running my C# application they are returning a 1, indicating success. However, even after the hooks are installed when I run a game it appears that nothing special happens. The game runs as normal. Does anyone have any suggestions?
Post Reply

Return to “Development / General Discussion”