[flext] Problem Linking C-style external dll in flext project

Jean-Yves Gratius jyg at gumo.fr
Sat Jan 9 11:47:26 CET 2010


everything seems to be working now.
It was due to a bug in ps3eye SDK.
JYG

Jean-Yves Gratius a écrit :
> Thomas Grill a écrit :
>>
>> Ok, did you in your C++ code specify standard-C linkage for the API 
>> functions, e.g. by using code like
>>
>> extern "C" {
>> #include <ps3headers etc.>
>> }
>>
>> gr~~~
> Yes I tried, but still doesn't work.
>
> Here is a extact of ps3 header (CLEyeMulticam.h)
>
> #pragma once
> #include <windows.h>
> #define CLEYEMULTICAM_API extern "C" __declspec(dllimport)
> ......
> ......
> .// Camera information
> CLEYEMULTICAM_API int CLEyeGetCameraCount();
> CLEYEMULTICAM_API GUID CLEyeGetCameraUUID(int camId);
>
> // Library initialization
> CLEYEMULTICAM_API CLEyeCameraInstance CLEyeCreateCamera(GUID camUUID, 
> CLEyeCameraColorMode mode, CLEyeCameraResolution res, int frameRate);
> CLEYEMULTICAM_API bool CLEyeDestroyCamera(CLEyeCameraInstance cam);
> etc.......
>
> Hope this helps
> Thanks
> JYG
>
>
> _______________________________________________
> http://grrrr.org/ext/flext
>
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext




More information about the flext mailing list