"win-dshow" plugin has incomprehensible define

Namki Kim

New Member
line 26--------------------------------------------------------------------------------
#ifdef DSHOWCAPTURE_EXPORTS
#define DSHOWCAPTURE_EXPORT __declspec(dllexport)
#else
#define DSHOWCAPTURE_EXPORT
#endif
-----------------------------------------------------------------------------------------

why does dshowcapture.hpp of win-dshow project have this code?
I can't link win-dshow.dll on release build.
 

Namki Kim

New Member
I use visual studio 2015.
Do you mean that I have to modify this code?
I don't want to modify open source code.
I just want to know if this code has special reason.
 
Top