Hi arm2arm;
First, are you sure the function prototype says that the variable "bufAddr" is a handle? In the documentation the function prototype looks like:
imgGrab(SESSION_ID sid, void* bufAddr, uInt32 syncOnVB)
Declare a variable as:
Int8* bufAddr = NULL;
When set to NULL, IMAQ will allocate the necessary memory. Then, when using the function, just cast the variable as void.
Use the function imgSessionSaveBufferEx() to save the image as a .bmp file.
Regards;
Enrique
www.vartortech.com