INPCamera->GetFrameImage problems
Posted: Wed Dec 16, 2009 7:16 pm
Hi,
I'm am trying to write a simple app that grabs the raw frame data from a flex V100 camera in c++ and am running into a problem with the GetFrameImage function. Calling this function seems to cause the program to hang or cause an access violation.
The code calling the function looks like this
hr = camera->GetFrameImage(lastFrame,640,480,640,8,buffer);
The camera and frame are both seem to be valid and I can get points from the frame. The buffer has been allocated with enough memory to hold the frame. However, making this call always seems to cause the program to hang our crash. Anyone have any idea what could be causing this?
Thanks
Dustin
I'm am trying to write a simple app that grabs the raw frame data from a flex V100 camera in c++ and am running into a problem with the GetFrameImage function. Calling this function seems to cause the program to hang or cause an access violation.
The code calling the function looks like this
hr = camera->GetFrameImage(lastFrame,640,480,640,8,buffer);
The camera and frame are both seem to be valid and I can get points from the frame. The buffer has been allocated with enough memory to hold the frame. However, making this call always seems to cause the program to hang our crash. Anyone have any idea what could be causing this?
Thanks
Dustin