End Google Ads 201810 - BS.net 01 --> I've got MFC/C++ based code.

I've wrapped it in static lib (C++/MFC also) providing in .h file e.g. single function that does call to the code.

The lib wrapper .h file contains only single function declaration without any hints to C++ or MFC

int DoSomeTask();

I added that lib with .h file to C console application without MFC support using only standard win libs

I can compile project without problems but I've got unresolved externals during linkage. What is the problem?

error LNK2001: unresolved external symbol _DoSomeTask() main.obj


????????