If you read the linker error thoroughly, and apply some knowledge, you may get there yourself:
The linker links a number of compiled objects and libraries together to get a binary.
Each object/library describes
- what symbols it expects to be present in other objects
- what symbols it defines
If two objects define the same symbol, you get exactly this linker error. In your case, both mfcs80.lib and MSVCRT.lib define the _DllMain@12 symbol.
Getting rid of the error:
- find out which of both libraries you actually need
- find out how to tell the linker not to use the other one (using e.g. the tip from James Hopkin)