none
Return IBody ref from a function RRS feed

  • Question

  • In C++ kinect code Bodies are foud by 

    IBody* pBodies[BODY_COUNT] = { 0 };
    pBodyFrame->GetAndRefreshBodyData(_countof(pBodies), pBodies);

    I need to return the pBodies from a function.. Is this possible ?? 

    I tried like declaring pBodies as global and passed from a function.. But it is not working .. 
    What is the correct method to  pass the pBodies. 

    Thanks in advance. 


    Saturday, April 16, 2016 10:41 AM