I have created my dynamic library in VS2013 , 32bit.
Now I have two files: MYLIB.lib and MYLIB.dll
I want to use it in class UNewActorComponent_FORREDSPHERE. I use my includes with
#ifdef MYLIB_EXPORTS
#define MYLIB_API __declspec(dllexport)
#else
#define MYLIB_API __declspec(dllimport)
#endif
What is the proper place to add my library?
I have already added /EHsc MYLIB.lib to additional commands(but I suppose it is wrong place)
The “Property Pages” of my project is much “smaller” than in usual projects where I can add a library easily.
So I don’ty know how to do it and, therefore, I have this error:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl State::State(void)" (__imp_??0State@@QEAA@XZ) referenced in function ........
I just need simple solution. I very appreciate step-by-step solution, because I am not professional of UE4. Thanks!