D, windows developement, frustration and fish

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 1 03:37:45 PST 2015


On Sunday, 1 February 2015 at 11:28:51 UTC, jkpl wrote:
> Shouldn't you compile with the following cmds ?
>
> dmd.exe test.d wininet.lib wininet.di -I<path_to_di_file>

wininet.lib is unnecessary because wininet.d has `pragma(lib, 
"wininet");`.

wininet.di is unnecessary because it does not contain any code, 
only declarations - an import inside test.d is sufficient. (This 
may not be true if you pull in .init of struct types, for example)


More information about the Digitalmars-d mailing list