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