Without the LinkDLL statement, command-line compile using vcbuild attempts to compile EXE and complains about entrypoint The LinkDLL statement forces the linker to produce desired output