On 2014-01-07 22:29, Adam D. Ruppe wrote:

The easiest way is to just write a regular program with a main() instead
of a WinMain. If you need the args, you can get them from functions like
GetModuleHandle, GetCommandLine, etc.

The runtime provides access to the command line arguments as well:

core.Runtime.args
core.Runtime.cArgs

http://dlang.org/phobos/core_runtime.html

--
/Jacob Carlborg

Reply via email to