Hello guys, I´m having a hard time with this SDK called QCamApi.
For instance, I´m trying to get this method, without any success.
#define QCAMAPI __stdcall;
extern QCam_Err QCAMAPI QCam_ListCameras
unsigned long* pNumberInList
The document that come along with has this example:
unsigned long listLen = sizeof(list)/sizeof(list[QCam_CamListItem]);
I got this Erros/Warning List
Warning 1 warning C4229: anachronism used : modifiers on data are ignored
Error 2 error C2078: too many initializers
Error 3 error C2440: 'initializing' : cannot convert from 'unsigned long *' to 'QCam_Err'
4 IntelliSense: a value of type "QCam_CamListItem *" cannot be used to initialize an entity of type "QCam_Err"
5 IntelliSense: expected a ')'
I believe I´m calling this __stdcall in the wrong way, I´ve tried a lot of things. Hope you can help me.
If someone wants more information, the QCam SDK is available here (http://www.qimaging.com/support/downloads/