On 9/23/12, correspondent <ethicalb...@hotmail.com> wrote: > This win API call generates fatal error. Is there a fix?
The gdi32.lib import library DMD distributes is outdated. You can use this one: https://github.com/AndrejMitrovic/DWinProgramming/raw/master/gdi32.lib Pass it to DMD's command line when compiling. There's a bug open on this: http://d.puremagic.com/issues/show_bug.cgi?id=6625 Unfortunately the import libs are not on github so I have no idea how Walter packs these, otherwise I'd do a pull request ages ago.