I have a class declared in a namespace as follows:
namespace sio
{
class SOCKETIOLIB_API socket {
};
}
I get compile error
error C2079: ‘socket’ uses undefined class ‘sio::DLLEXPORT’
This class is needed by other module in my plugin. How should I declare it as a public API?