How do you create a device context (DC) in a DLL?
I know that a DC requires a windows handle, however, if a dll has no window how does a DC get created?
I am creating a dll function that returns the width of a string of characters in pixels.
e.g. int GetTextWidth(char* strFontFaceName...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.