Description: The DrawText function should not be called before CreateFont, otherwise an exception will be thrown. In order to be able to create the font, a device context should be supplied. This can be done once through a static function (SetDeviceContext): You can call that function once at the start of your program by calling CGameFont::SetDeviceContext(hDC).
To Search:
- [drawText] - Implement your own output of text, under
File list (Check if you may need any files):
ACESimpleClient.vcproj
ReadMe.txt
stdafx.cpp