I am trying to write a sample code for hand tracking by following the tutorial of Native C++ SDK (Ver 1.0.0) on Windows 10 and Vive Cosmos.
Usage — Vive Hand Tracking SDK 1.0.0 documentation
I have written the attached code, but it does not work well because it throws an exception when I call StartGestureDetection.
The exception message is as follows
Exception thrown on 0x00007FFC036C54F0 (aristo_interface.dll) in ConsoleApplication1.exe: 0xC0000005: An access violation occurred while reading location 0x0000000000000000
Has anyone else encountered a similar problem?
Or is there a complete example somewhere using the Native C++ API?
ConsoleApplication1.cpp