I think that you should define the BUILD_MY_DLL macro (in Project Properties, C/C++, Preprocessor Definitions, for all of configurations and platforms), so that the SHARED_LIB is expanded to __declspec(dllexport).
In addition, make sure that the functions are implemented in shared_lib.cpp and have the correct names and parameters.
Show details about shared_lib.cpp if this does not help.