Hmmm... but i'am have some trouble:

Qt Code:
  1. error LNK2019: unresolved external symbol "public: void __thiscall ISampleClass::DemoFunction1(void)" (?DemoFunction1@ISampleClass@@QAEXXZ) referenced in function _wmain
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. #include "stdafx.h"
  2. #include <string.h>
  3. #include <iostream>
  4. #include "../test/ISample.h"
  5. #pragma comment(lib,"D:\\QT_PROJECT\\test\\debug\\test.lib")
  6.  
  7. using namespace std;
  8.  
  9.  
  10. int _tmain(int argc, _TCHAR* argv[])
  11. {
  12. ISampleClass a;
  13. a.DemoFunction1();
  14. return 0;
  15. }
To copy to clipboard, switch view to plain text mode 

What wrong ???