1 of 1 people found this helpful
A script in the RealSense documentation for C++ suggests phrases the PXCProjection line like this:
One of my pet hates about coding documentation of any kind is when they give a heading that sets out formatting for an instruction, and then the actual code in a script that calls that instruction is nothing like the heading.
A quick and dirty way to get past it may be to just sweep it under the carpet by unticking the 'Break when this exception type is thrown' box and see whether ignoring it has a negative impact on the program's running.
Alternatively, you could try this to officially mark the p variable as nullptr:
int* p = nullptr;