Thank you. I can't believe I missed it. I wanted to run the Digital Mars D compiler and that was what was set up in the toolchain set. However, when I went into the Project->Build Option, the compiler was set for Digital Mars C compiler. I reset it to Digital Mars D Compiler.
That seemed to fix that problem. Now I am getting the following issue:
[ 33.3%] dmd.exe -g -IC:\D\dmd2\windows\src\phobos -c cmdLine.d -ofobj\Debug\cmdLine.obj
[ 66.7%] dmd.exe -g -IC:\D\dmd2\windows\src\phobos -c qDNS.d -ofobj\Debug\qDNS.obj
[100.0%] dmd.exe bin\Debug\queryDNS.exe obj\Debug\cmdLine.obj obj\Debug\qDNS.obj phobos.lib
Error: linker exited with status 1
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Error 3: Cannot Create File bin\Debug\queryDNS.exe
Process terminated with status 1 (4 minute(s), 41 second(s))
3 error(s), 0 warning(s) (4 minute(s), 41 second(s))
I tried it manually in the current directory and I got the following:
c:\queryDNS>dmd.exe queryDNS.exe cmdLine.obj qDNS.obj phobos.lib
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Error 3: Cannot Create File queryDNS.exe
Error: linker exited with status 1
What do you make of it?