June 12, 2003
When I import windows.d, the dmd compiler stop with the following error :

"cannot implicitly convert uint to int"

at the line 999 : const int MAXDWORD = (0xFFFFFFFF);

is there a problem with hexadecimals in D ?

Please help...


June 13, 2003
> When I import windows.d, the dmd compiler stop with the following error :
>
> "cannot implicitly convert uint to int"
>
> at the line 999 : const int MAXDWORD = (0xFFFFFFFF);
>
> is there a problem with hexadecimals in D ?

It's in the error message. The value you specify is outside of the range of a normal int - you either have to use uint (unsigned int) or specify it as -1 instead.

-fg