I found a IPC Library online which after compiling it will become ".lib", so i tried converting it to DLL instead of using .lib, but after declaring exports on the features i need to export the VS Express compiler gave a warning stated
'PipeTransport::buf_': class 'std::vector>' needs > to have dll-interface to be used by clients of class
The EXPORT definition
#define EXPORT __declspec(dllexport)
This is the code exported...
class EXPORT PipeTransport : public PipeWin {
public:
static const size_t kBufferSz = 4096;
size_t Send(const void* buf, size_t sz) {
return Write(buf, sz) ? ipc::RcOK : ipc::RcErrTransportWrite;
}
char* Receive(size_t* size);
private:
IPCCharVector buf_;//The Line giving error
};
The Library link is here
The Header file giving error is here
I read this , but can't get it to work coz i don't understand much of it as i'm new to C++(Totally noob).