Use the /Ld option to link with both mDLLCf W.LIB and with the Windows API library. This option is implied by the /GD option; you cannot use it with either the /GA or the /Mq option.