Windows startup docs are out of date

Jacob Carlborg doob at me.com
Tue Jan 7 23:39:43 PST 2014


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


More information about the Digitalmars-d mailing list