GetStockObject -- symbol undefined error
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Sep 23 10:41:54 PDT 2012
On 9/23/12, correspondent <ethicalbean at 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.
More information about the Digitalmars-d
mailing list