Daniel Jeliński <djelinski1(a)gmail.com> wrote:
I'm quite sure you didn't mean to ignore
return value of GetStockObject and
leave logfont uninitialized here.
GetStockObject(DEFAULT_GUI_FONT) can't fail.
Does GetStockObject(DEFAULT_GUI_FONT) have some sort of side effect that's not
obvious?
-Ken