Tuesday, May 20, 2008

Sample Grabber Problem

Sample Grabber Problem:
----------------------------
My client 's Callback function is executed successfully for the first time;After the execution of my call back function, I got the error;
Solution:
------------
1.It may be due to different types of call;2.that means My Sample Grabber application is in _stdcall modeand my client application is in _cdecl mode; if I modified my client application mode as _stdcall mode then my client application is running well without any problem;
The Sample grabber call back function must be in same type of calling mechanism;
check;Project->Settings -> Code Generation -> calling Convention ;

No comments: