As far as I understand your comments, you need to use pre-processor directives in any hader file using to declare your function.
#ifdef _WITHINDLL_
declspec(dllimport) void FuncA();
#else
declspec(dllexport) void FuncA();
#endif
#define _WITHINDLL_
#include "AnyHaderFile.h"
#include "AnyHaderFile.h"
In this particual case, the function is implemented in EXE (not in DLL unlike as usual).
I hope, I understand right.