c++ - Can not build a resource-only dll-library (linker errors) -


in msvc 2017 i've added 2 bitmaps resources win32 project (in application settings i've selected "dll").

an .rc file created result.

in linker settings i've set "no entry point" "yes /noentry"

but when try build .dll, these errors:

errors

in msvc 2015 errors too.

what doing wrong?

you should remove source files (.cpp) project. looks right still compiles code (which originates precompiled header "stdafx.h").


Comments