Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 22, 2013 Win32 api with 2.061 | ||||
---|---|---|---|---|
| ||||
I am trying to compile a project using the Win32 api header's (the Dsource ones) with 2.061 and am getting errors for the first time with things like this: const uint WINVER = blah Error: variable WINVER cannot be read at compile time. I just want to confirm if this is due to a change in the compiler? I didn't see this error with earlier releases. Cheers, cal |
January 22, 2013 Re: Win32 api with 2.061 | ||||
---|---|---|---|---|
| ||||
Posted in reply to cal | Am 22.01.2013 23:25, schrieb cal:
> const uint WINVER = blah
try:
static const uint WINVER = blah
But I have no idea why it changed
|
January 23, 2013 Re: Win32 api with 2.061 | ||||
---|---|---|---|---|
| ||||
Posted in reply to cal | On 1/22/13, cal <callumenator@gmail.com> wrote: > I am trying to compile a project using the Win32 api header's (the Dsource ones) with 2.061 and am getting errors for the first time with things like this: Try making these changes: https://github.com/AndrejMitrovic/WindowsAPI/commit/6d8ef98508063c5a4741c72eda68aa485d3b25fa WindowsAPI should really be moved to Github.. |
January 23, 2013 Re: Win32 api with 2.061 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | On Wednesday, 23 January 2013 at 02:40:55 UTC, Andrej Mitrovic wrote:
> Try making these changes:
> https://github.com/AndrejMitrovic/WindowsAPI/commit/6d8ef98508063c5a4741c72eda68aa485d3b25fa
>
> WindowsAPI should really be moved to Github..
Thanks this fixed another error i was getting, compiler is happy again. A github WinApi would be great, I use it a lot.
|
Copyright © 1999-2021 by the D Language Foundation