Thomas - 15 February 2010 08:05 AM
I try to compile your SDK samples in VS2008 with X64 but I think the CLEyeMulticam.lib is not 64bit compatibly
It is possible to get a x64 lib?
Another way of doing this is by dynamically loading the functions from CLEyeMulticam.dll in your x64 process by using LoadLibrary and GetProcAddress Windows API.
Something like this:
// Your x64 process
// define function type
typedef int (__clecl *tCLEyeGetCameraCount)();
typedef GUID (__clecl *tCLEyeGetCameraUUID)(int);
// load CLEyeMulticam.dll
HMODULE hDLL= LoadLibrary("CLEyeMulticam");
// get the CLEyeGetCameraCount function address
tCLEyeGetCameraCount pCLEyeGetCameraCount = (tCLEyeGetCameraCount)GetProcAddress(hDLL, "CLEyeGetCameraCount");
// get the CLEyeGetCameraUUID function address
tCLEyeGetCameraUUID pCLEyeGetCameraUUID = (tCLEyeGetCameraUUID)GetProcAddress(hDLL, "CLEyeGetCameraUUID");
// call CLEyeGetCameraCount
int camCount = pCLEyeGetCameraCount();
Hope this helps.