Some one told me that if you want to export a library you need use __declspec(dllexport), and when someone uses the library he or she needs to add __declspec(dllimport). But today I found that it is not necessary.
For what reason do we need a __declspec(dllimport)?