D on Windows - linker question
evilrat
evilrat666 at gmail.com
Mon Oct 21 19:54:41 PDT 2013
On Tuesday, 22 October 2013 at 01:07:48 UTC, Erik van Velzen
wrote:
> I do get a few compiler errors with DMD in these win32.* modules
> about incorrect typecasts. I will make a new topic if these
> persist or file a bug report with the author.
if you use x64 build then i must disappoint you, it only
converted and works for 32 bit, i have my own "fixed" version of
these, but it is hacked to just works.
and i don't remember wrong casts in there. do you mixing
std.c.windows with this win32? if so, this just because of
ambiguity, compiler can't distinguish on itself if multiple
definitions exists in one scope. either use alias to specify
which symbol to use alias (like this "alias MessageBoxA =
std.c.windows.windows;") or static import one of the modules.
More information about the Digitalmars-d-learn
mailing list