I have a struct :
#include <string>
struct __declspec (dllexport) FILEPROPERTIES
{
std::wstring FileName;
std::wstring Type;
};
I get the following warning during compilation. Any idea of how to resolve
this?
warning C4251: 'FileName' : class 'std::basic_string<unsigned short,struct
std::char_traits<unsigned short>,class std::allocator<unsigned short> >'
needs to have dll-interface to be used by clients of struct 'FILEPROPERTIES'