Thanks, all functions returns zero
🙂 I haven't check yet but I wonder what modification have you done, there doesn't seem to be any significate changes in the code but apparently yours runs while my code fails. the reason I pass zero to pProcessData is because I don't know how to define a pointer with required size(this pointer must points to the beginning of the buffer and of the size of the buffer which is 512*512*n, where n is the number of frames). I posted that question on this forum but haven't got any replies yet.
a lot of thanks
kevin
Can a computer learn how to program?