What on earth is std.windows.d?

Don Clugston dac at nospam.com.au
Fri Mar 3 08:09:28 PST 2006


Sean Kelly wrote:
> Don Clugston wrote:
>>
>> I believe that legal issues prevent redistribution of the Windows SDK, 
>> but at least we could use the public domain files from the w32api 
>> project?
>>
>> http://cvs.sourceforge.net/viewcvs.py/mingw/w32api/#dirlist
> 
> Definately.  I don't suppose someone wants to attempt a port? :-) 
> Automation is on my to-do list, but it's pretty low at the moment.
> 
> 
> Sean

I've been inspired to have a go at making a C2D header converter. I know 
that's been done before, but this one's in D.
Turns out to be _much_ easier to do than it used to be, because now you 
can often change things like
#define abc 3 + 7 * def
#define foo "sfbsdd"
into
const abc = 3 + 7 * def;
const foo = "sfbsdd";
taking advantage of autotyping.

Also being able to write
extern(C) :

instead of extern(C) { ....}
is another huge help.



More information about the Digitalmars-d mailing list