[flext] Problem Linking C-style external  dll in flext project
    Jean-Yves Gratius 
    jyg at gumo.fr
       
    Fri Jan  8 18:43:20 CET 2010
    
    
  
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
    
    
More information about the flext
mailing list