I need to use the DrawString method in GDI+ but when I am unable to create a Font object. I've created an activeX control that creates a Font object just fine but when I try to use it in a dialog application it will not let me. The method of implimentation I've been using is:
Font font(fontFamily, etc, etc);
I'm sure there is some initialization I need to perform but I have no idea. If someone could somewhat detailed information on how to create the font and any other useful tips for using DrawString I would appreciate it.