Forum Discussion
cybereality
12 years agoGrand Champion
Minimal Oculus Application Tutorial
Hey guys! I put together this simple tutorial, showing the bare minimum code needed to work with the Oculus SDK. https://developer.oculus.com/wiki/index.php?title=Minimal_Oculus_Application I...
Gookanheimer
12 years agoExplorer
I was just investigating my unhandled exception problem when I tried just getting rid of all my code and seeing if this minimal application worked instead, to try figure out where I'm going wrong. Lo and behold, this one appeared to work fine without any of the problems I'd had. But then I noticed something.
I tried setting a break point at the Clear() function in main(), and found that the program never actually makes it there because of the exit(0); line. If I replace the exit with a break;, then it does run the cleanup and I get the same unhandled exception problem I've been experiencing myself. Is using exit() without running the cleanup an acceptable way to end the program and something I would be able to use with my own one? So far it seems to be the only way around the problem.
I tried setting a break point at the Clear() function in main(), and found that the program never actually makes it there because of the exit(0); line. If I replace the exit with a break;, then it does run the cleanup and I get the same unhandled exception problem I've been experiencing myself. Is using exit() without running the cleanup an acceptable way to end the program and something I would be able to use with my own one? So far it seems to be the only way around the problem.
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
- 1 year ago
- 3 months ago
- 2 years agoAnonymous
- 3 months ago