error C2375: redefinition; different linkage
问题 Error place in api: #define DLLEXPORT extern "C" __declspec(dllexport) DLLEXPORT int CAnyseeUSBTVControllerDlg::InitCaptureDevice() { In my .h library class and function definition: class CAnyseeUSBTVControllerDlg : public CDialog { // Construction public: int InitCaptureDevice(void); Any idea how to resolve it? "Error 1 error C2375: 'CAnyseeUSBTVControllerDlg::InitCaptureDevice' : redefinition; different linkage c:\Program Files\toATS_DVS\anysee\anyseee30\anyseee30\anyseeUSBTVControllerDlg