Why is my C++ ATL project linking in a CIL library?

Viewed 540

I am getting this linker error from VC++2013:

1>* CIL library *(* CIL module *) : 
error LNK2005: _DllMain@12 already defined in mfcs120u.lib(dllmodul.obj)

This is a pure C++ project, a COM DLL containing an "ATL simple object", and "No Common Language Runtime Support" is selected in the General project settings. I literally just wizard-created it and it has the same settings as other, working, COM DLLs.

I need to link with the MFC library, not a .NET related library. How could this CIL library possibly end up in the build?

1 Answers
Related