Alright, so I was going through this tutorial, and converting the code from C to c++, not that hard, but what I came across was that once I added (HFONT) to
and (LPSTR) toCode:hfDefault = (HFONT)GetStockObject(DEFAULT_GUI_FONT);
the menubar just dissappeared, any ideas why?Code:pszFileText = (LPSTR)GlobalAlloc(GPTR, dwFileSize + 1);
