digitalmars.D - GetStockObject -- symbol undefined error
- correspondent (1/1) Sep 23 2012 This win API call generates fatal error. Is there a fix?
- Andrej Mitrovic (7/8) Sep 23 2012 The gdi32.lib import library DMD distributes is outdated. You can use
This win API call generates fatal error. Is there a fix?
Sep 23 2012
On 9/23/12, correspondent <ethicalbean 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.
Sep 23 2012