import std.c.windows.windows;

DNewbie run3 at myopera.com
Tue Jan 10 05:24:10 PST 2012


I'm not sure I understand.. The page at http://dlang.org/windows.html says

  Instead of the:
  #include <windows.h>
  of C, in D there is:
  import std.c.windows.windows;

However, the samples at https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples
use

  import win32.windef;
  import win32.winuser;

My question is which one should I use in my programs?

-- 

  D


More information about the Digitalmars-d-learn mailing list