Hi everybody.
Did anyone used in the past the Pixelink camera API to build an application with LW/CVI ? The .h file Pixelink gives does not compile. This is a short sample of what happens. The .h file looks for instance like this:
....
// Capture AVI file
PXL_API
PimMegaCaptureAVI(IN HANDLE hImager, // Imager object handle
IN U32 uNumberFrames, // Number of frames in AVI
IN LPSTR pFileName); // File name for AVI
....
and I get the following compiler messages:
about the line PXL_API: "PimMegaApiUser.h"(96,1) Warning: Empty declaration.
"PimMegaApiUser.h"(96,1) syntax error; found 'string constant' expecting ';'.
"PimMegaApiUser.h"(96,1) Unrecognized declaration.
about the next line: "PimMegaApiUser.h"(97,1) syntax error; found 'identifier' expecting ';'.
about the HANDLE keyword: "PimMegaApiUser.h"(97,22) syntax error; found 'identifier' expecting ')'.
about the closing ; : "PimMegaApiUser.h"(99,40) Extraneous formal parameter specification.
Does anyone hace some suggestion ?
Many thanks in advance,
Enrico