www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: import std.c.windows.windows;

On Wed, Jan 11, 2012, at 01:16 PM, Mike Parker wrote:
 On 1/10/2012 10:57 PM, DNewbie wrote:
 On Tue, Jan 10, 2012, at 10:37 PM, Mike Parker wrote:
 Those samples use a binding to the Win32 API[1] that does not ship with
 DMD. So in your case, std.c.windows.windows is probably what you want
 for now.


 [1]http://dsource.org/projects/bindings/wiki/WindowsApi

Ok.. I still don't understand why such a 'binding' is needed. Is std.c.windows.windows not enough for everyone?

Unfortunately, no. It is not a complete binding of the Win32 API. It has a lot of stuff, but if you need more you need to look elsewhere. Andrej hit on some of the deficiencies in his post.

Understood. I think I'll go with the binding. Thnk you.
Jan 14 2012